-
-
Notifications
You must be signed in to change notification settings - Fork 197
Debug port -1 when run on android emulator #359
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
Comments
I continued my investigation and I've found cause of port -1. |
Hi @iamkarlson |
Yes, sure. You can find it here http://pastebin.com/tDf836qd Android version is 4.2, but I also tried to run on 5.0 image and intel/arm platforms |
It seems that the CLI cannot establish connection with your device/emulator. Currently, the CLI has hard-coded timeout set to 30 seconds which sometimes is not enough. I logged an issue here #375. If you feel adventurous, you can change the timeout to, say, 60 seconds. From your logs I assume that you are running on Windows box, so you can edit EDIT: Also make sure that your device/emulator has external storage (sdcard) attached. |
Oh, no. My emulator doesn't have attached sdcard, but my phone does. And on my phone debugger are working fine. Could please find out way to debug apps without mounted sdcard? |
We are already researching other options. I'll close our internal issue and make a public one so everybody can monitor its status. |
Closing this issue, see #661 |
Hello, I can't run debugger on android emulator because script stuck here
After wait dbgPort geting -1
The text was updated successfully, but these errors were encountered: