windows 10 + appium + phonegap app + protractor + real android device:
запускаю тест:
> protractor conf-android.js
получаю ошибку:
info: [debug] executing cmd: C:\android\sdk\platform-tools\adb.exe -s ONUGLJ55WSOB8L8L shell "am instrument -e main_activity 'com.myapp.test' com.myapp.test.selendroid/io.selendroid.server.ServerInstrumentation" error: android.util.AndroidException: INSTRUMENTATION_FAILED: com.myapp.test.selendroid/io.selendroid.server.ServerInstrumentation at com.android.commands.am.Am.runInstrument(Am.java:865) at com.android.commands.am.Am.onRun(Am.java:282) at com.android.internal.os.BaseCommand.run(BaseCommand.java:47) at com.android.commands.am.Am.main(Am.java:76) at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:243) at dalvik.system.NativeStart.main(Native Method) info: [debug] Cleaning up appium session
файл conf-android.js:
exports.config = {
framework: 'jasmine',
seleniumAddress: 'http://localhost:4723/wd/hub',
specs: ['signup.js'],
capabilities: {
browserName: '',
platformName: 'Android',
platformVersion: '4.4.2',
deviceName: 'Linovo',
app: 'C:/path/to/apk/myapp-debug.apk',
automationName: 'selendroid'
},
baseUrl: 'http://10.0.2.2:8000',
onPrepare: function () {
var wd = require('wd'),
protractor = require('protractor'),
wdBridge = require('wd-bridge')(protractor, wd);
wdBridge.initFromProtractor(exports.config);
}
}
Кто-то сталкивался с этой проблемой?