Open mayfu opened 6 years ago
@mayfu - Any news about this? Thanks!
I could confirm the test server is running on emulator (adb -s emulator-5554 shell am instrument -e with_uiautomator true -e main_activity..
) but tests could not connect with this exception:
"It looks like your app is no longer running. It could be because of a crash or because your test script shut it down."
Report "your app is no longer running" when run "calabash-android run myapk.apk" when execute "calabash-android run myapk.apk", it report: 2018-09-03 15:47:22 - Starting test server using: 2018-09-03 15:47:22 - "Library/Android/sdk/platform-tools/adb" -s emulator-5554 shell am instrument -e main_activity null -e test_server_port 7102 -e class sh.calaba.instrumentationbackend.InstrumentationBackend com.xx.xx.test/sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner 2018-09-03 15:47:34 - It looks like your app is no longer running.
check logcat log, it report 9-03 15:47:37.151 E/AndroidRuntime( 3200): java.lang.RuntimeException: Exception thrown in onCreate() of ComponentInfo{com.xx.xx.test/sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner}: java.lang.RuntimeException: java.io.FileNotFoundException: actions
Can someone tell me what's wrong with my env?