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

Detox on android not opening app on launch of emulator #1550

Closed
rehansulehria opened this issue Jul 23, 2019 · 1 comment
Closed

Detox on android not opening app on launch of emulator #1550

rehansulehria opened this issue Jul 23, 2019 · 1 comment

Comments

@rehansulehria
Copy link

rehansulehria commented Jul 23, 2019

on hitting below command :

detox test --configuration android.emu.debug

emulator opens but app under test is not launching.
the same app and tests work fine on ios

log:
detox[10879] TRACE: [ArtifactsManager.js/LIFECYCLE] artifactsManager.onLaunchApp({
deviceId: 'emulator-5554',
bundleId: 'com.alefeducation.guardian',
launchArgs: {
detoxServer: 'ws://localhost:51024',
detoxSessionId: 'da5b844a-cb9b-e057-8cc4-041ef0a45aac'
},
pid: 10879
})
detox[65234] TRACE: [AsyncWebSocket.js/WEBSOCKET_SEND] {"type":"isReady","params":{},"messageId":-1000}
detox[65234] TRACE: [DetoxServer.js/MESSAGE] role=tester action=isReady (sessionId=da5b844a-cb9b-e057-8cc4-041ef0a45aac)
detox[65234] DEBUG: [DetoxServer.js/CANNOT_FORWARD] role=testee not connected, cannot fw action (sessionId=da5b844a-cb9b-e057-8cc4-041ef0a45aac)
detox[65234] TRACE: [exec.js/SPAWN_STDOUT, #15] INSTRUMENTATION_RESULT: shortMsg=Process crashed.
INSTRUMENTATION_CODE: 0

detox[65234] DEBUG: [exec.js/KILL] sending SIGINT to [pid = 65271]: /Users/r.shahid/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:51024 -e detoxSessionId da5b844a-cb9b-e057-8cc4-041ef0a45aac -e debug ZmFsc2U= com.alefeducation.guardian.test/android.support.test.runner.AndroidJUnitRunner
detox[65234] TRACE: [exec.js/SPAWN_END, #15] /Users/r.shahid/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument -w -r -e detoxServer ws://localhost:51024 -e detoxSessionId da5b844a-cb9b-e057-8cc4-041ef0a45aac -e debug ZmFsc2U= com.alefeducation.guardian.test/android.support.test.runner.AndroidJUnitRunner finished with code = 0

@support
Copy link

support bot commented Jul 23, 2019

We use the issue tracker exclusively for bug reports and feature requests. This issue appears to be a general usage or support question. Instead, please ask a question on Stack Overflow with the detox tag.

Feel free to post your Stack Overflow question here for more visility. We'll take a look at it.

For more information on bots in this reporsitory, read this discussion.

@support support bot closed this as completed Jul 23, 2019
@lock lock bot locked as resolved and limited conversation to collaborators Jul 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant