I cannot run my app in debug mode in Android Studio. Sometimes it says the problem is with localhost:8601
, and other times I get the output below:
Client not ready yet.
Client not ready yet.
Client not ready yet.
Client not ready yet.
Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] cmp=com.test.myapp/.activity.SplashActivity }
For Android 4.2 and newer, Developer options is hidden by default; use the following steps: On the device, go to Settings > About <device>. Tap the Build number seven times to make Settings > Developer options available. Then enable the USB Debugging option.
To start debugging an APK, click Profile or debug APK from the Android Studio Welcome screen. Or, if you already have a project open, click File > Profile or Debug APK from the menu bar. In the next dialog window, select the APK you want to import into Android Studio and click OK.
I finally solved the problem. my phone setting should set on MTP mode and nothing else. debugger connects to my phone after this change.
I had same issue and fixed now. Here is what i did which might help u
Confirm the exact problem, Is it that debugger is not able to connect or breakpoints not hit. TO confirm this put breakpoint in MainActivity. Also application would be waiting for debugger, just check if it stopped waiting or any console logs. Also just check if debugger shows pause button
Check ur gradle config and make sure apk has symbols. (Debug release)
In my case issue was 1st and got it resolved. Hope this might help else pls ignore
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With