So I have this problem where I can not start my app, unless I kill io.appium.settings
in adb
.
How it woks is: The app will open and close several times, but no tests will run. Then I get this message:
ERROR: An unknown server-side error occurred while processing the command. Original error: Cannot start the 'my.app.package' application. Visit https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/android/activity-startup.md for troubleshooting. Original error: Error executing adbExec. Original error: 'Command '/home/me/Android/Sdk/platform-tools/adb -P 5037 -s emulator-5554 shell am start -W -n my.app.package/host.exp.exponent.MainActivity -S -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -f 0x10200000' exited with code null'; Stderr: ''; Code: 'null'
I can work around this by adb shell ps | grep appium
and then
adb shell
su
kill {PID}
after which the test will start properly, but that is super annoying to do every time. Is there some permanent fix for this issue? I have not written any appPackage
or appActivity
capabilities.
Is this to do with the fact that this app was built by Expo? (the host.exp.exponent.MainActivity
part).
created
Feb '19
last reply
Feb '19
- 2
replies
- 455
views
- 2
users