With Appium Desktop, I am attempting to Start Session on a test .apk referred by Dave Haeffner.
adb devices shows my Android device.
Desired Capabilities:
{
"app": "https://github.com/appium/ruby_lib/blob/master/android_tests/api.apk",
"platformName": "Android",
"deviceName": "Samsung Galaxy"
}
Errors when I try to start the session: packageAndLaunchActivityFromManifest failed.
[MJSONWP] Encountered internal error running command: Error: packageAndLaunchActivityFromManifest failed. Original error: Command '/Users/ventmahe/Library/Android/sdk/build-tools/23.0.1/aapt dump badging /var/folders/0h/hf79m7zj1xz1hdk0m3t091v8221rx6/T/2017314-967-qb7b8t.slkijurf6r/appium-app.apk' exited with code 1
at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-support/lib/logging.js:63:13)
at ADB.callee$0$0$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-adb/lib/tools/android-manifest.js:88:9)
at tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke as _invoke
at GeneratorFunctionPrototype.prototype.(anonymous function) as throw
at GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session 500 7333 ms - 393
... What am I doing wrong?
-T.J. Maher