I cannot debug in Android Studio. It never attach to VM and never stops on breakpoints. How can I get it working?

A

AC Question

I cannotdebug in Android Studio. It never attach to VM and never stops on breakpoints

Tipical output in Debugger view:
Waiting for device.
Target device: unknown_1-stv100_4-1161305457
Uploading file
local path: /Users/achapiro/devel6/avengers/packages/inputmethods/BlackBerryLatinIME/build/outputs/apk/My_APK_FILE-debug.apk
remote path: /data/local/tmp/MY_SERVICE
No apk changes detected. Skipping file upload, force stopping package instead.
DEVICE SHELL COMMAND: am force-stop MY_SERVICE
Waiting for process: MY_SERVICE

Then in 90% of case it starts to spam view screen with message:

Client no ready yet.
 

Golfdriver97

Trusted Member Team Leader
Moderator
Dec 4, 2012
35,375
119
63
Visit site
Re: I cannotdebug in Android Studio. It never attach to VM and never stops on breakpoints

Welcome to the forums. This question is somewhat outside the scope of Android Central. We do have people who build apps and can code, but there are very few. I can pass this along to some people who might know.