Udacity Course: Web Accessibility
https://classroom.udacity.com/courses/ud891/lessons/8085130355/concepts/80878907040923
Minimum touch size for mobile screen: 48dp
WCAG: https://webaim.org/standards/wcag/checklist#sc1.4.4
Udacity Course: Web Accessibility
Minimum touch size for mobile screen: 48dp
And I keep getting these errors when I run “npx cap add android”:
Syncing GradleError running gradle sync Starting a Gradle Daemon, 1 stopped Daemon could not be reused, use --status for details
java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
… #skipped verbose error messages
FAILURE: Build failed with an exception.
* What went wrong:
Could not initialize class org.codehaus.groovy.reflection.ReflectionCache
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 21s
Unable to infer default Android SDK settings. This is fine, just run npx cap open android and import and sync gradle manually
Firstly, you'll to know which java version is your android studio is using, find the info in "About Android Studio".
Set environment variable to point JAVA_HOME to the path where openjdk version of "1.8.0_242-release” (or embedded jdk inside Android Studio app folder) located. On Mac, it's usually
/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home
export JAVA_HOME="/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home"
jenv add "/Applications/Android Studio.app/Contents/jre/jdk/Contents/Home"Add/update environment variable JAVA_HOME and point it to path where the correct version of openjdk extracted.
"No such module 'PushNotifications'"
require 'json'
package = JSON.parse(File.read(File.join(__dir__, 'package.json')))
Pod::Spec.new do |s|
s.name = 'CapacitorPusherBeams'
s.version = package['version']
s.summary = package['description']
s.license = package['license']
s.homepage = package['repository']['url']
s.author = package['author']
s.source = { :git => package['repository']['url'], :tag => s.version.to_s }
s.source_files = 'ios/Plugin/**/*.{swift,h,m,c,cc,mm,cpp}'
s.ios.deployment_target = '11.0'
s.dependency 'Capacitor'
s.swift_version = '5.0'
s.xcconfig = { 'FRAMEWORK_SEARCH_PATHS' => "${PODS_CONFIGURATION_BUILD_DIR}/PushNotifications" }
end
Error: Failed to create session.read ECONNRESET
npm run android.app
appium-boilerplate@5.3.1 android.app ~/appium-boilerplate
wdio ./config/wdio.android.app.conf.js
Execution of 6 spec files started at 2020-05-24T05:09:03.689Z
[0-0] RUNNING in Android - /tests/specs/app.forms.spec.js
[0-0] Error: Failed to create session.
read ECONNRESET
[0-0] FAILED in Android - /tests/specs/app.forms.spec.js
[0-1] RUNNING in Android - /tests/specs/app.login.spec.js
[0-1] Error: Failed to create session.
read ECONNRESET
[0-1] FAILED in Android - /tests/specs/app.login.spec.js
[0-2] RUNNING in Android - /tests/specs/app.navigation.spec.js
[0-2] Error: Failed to create session.
read ECONNRESET
[0-2] FAILED in Android - /tests/specs/app.navigation.spec.js
[0-3] RUNNING in Android - /tests/specs/app.swipe.spec.js
[0-3] Error: Failed to create session.
read ECONNRESET
[0-3] FAILED in Android - /tests/specs/app.swipe.spec.js
[0-4] RUNNING in Android - /tests/specs/app.webview.spec.js
[0-4] Error: Failed to create session.
read ECONNRESET
[0-4] FAILED in Android - /tests/specs/app.webview.spec.js
[0-5] RUNNING in Android - /tests/specs/app.webview.xpath.spec.js
[0-5] Error: Failed to create session.
read ECONNRESET
[0-5] FAILED in Android - /tests/specs/app.webview.xpath.spec.js
Spec Files: 0 passed, 6 failed, 6 total (100% completed) in 00:02:07
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! appium-boilerplate@5.3.1 android.app: `wdio ./config/wdio.android.app.conf.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the appium-boilerplate@5.3.1 android.app script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! ~/.npm/_logs/2020-05-24T05_11_11_738Z-debug.log
![]() |
| Archive |
![]() |
| Successful Archive |
![]() |
| Ad Hoc - Distribution Method choices |
![]() |
| Enable OTA installation |
![]() |
| Enter hosting URL |
![]() |
| Re-sign app |
![]() |
| Compilation |
![]() |
| Final Step: Exporting |
![]() |
| Exported Files |
![]() |
| Part of the content from manifest.plist file |
![]() |
| Simplified Version |
itms-services://?action=download-manifest&url=URL_TO_MANIFEST_FILE
Example:
<a href="itms-services://?action=download-manifest&url=https://test.com/manifest.plist">TSAwesomeProj Sample</a>