Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report "your app is no longer running" when run "calabash-android run myapk.apk" #892

Open
mayfu opened this issue Sep 3, 2018 · 1 comment

Comments

@mayfu
Copy link

mayfu commented Sep 3, 2018

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?

@babakansari
Copy link

babakansari commented Jul 18, 2019

@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."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants