osx - Can't attach Android Studio's debugger to Android process -



osx - Can't attach Android Studio's debugger to Android process -

i can't attach android studio's debugger debuggable application process. else had issue? can't app listed in choose process dialog.

i'm selecting attach debugger android process:

and then, here's how process selection dialog android studio looks like:

any ideas why app not shown in choose process list?

although, ddms sees app in devices | logcat list:

android monitor sees app in devices list:

i've tried these actions:

restarting macbook restarting devices: tried samsung galaxy note ii n7100 (4.3) , samsung galaxy s4 (4.4.2) reenabling settings->developer options on devices reenabling settings->developer options->usb debugging on devices restarting adb running adb kill-server , adb start-server reconnecting device macbook and/or plugging usb port launching genymotion virtual device on macbook restarting in tcp mode port: 5555 running adb tcpip 5555 , connecting adb connect 192.168.1.87 waiting more&restart when got error saying adb not responding. can wait more, or kill "adb" process manually , click 'restart' errors in adb: ddms: '$android_home/platform-tools/adb,start-server' failed -- run manually if necessary error screenshot

update:

what i've noticed device appears multiple times in android ddms->devices | logcat list. if take 1st device list, shows, there's no debuggable applications, select lastly device (4th in screenshot) see debuggable application. see screenshots: 1st , 4th. although, there's 1 device in list , showing debuggable device , application, process still not appear in choose process dialog.

so got working, by:

checking 'show processes' checkbox!

but see in question, checkbox on @ beginning, there multiple issues.

to summarize, these other actions done:

kill adb processes (use ps -x | grep adb , kill -9 [process id]) adb start-server in terminal reconnect device adb device (to create sure device connected successfully) make sure android ddms devices | logcat shows app , only 1 device listed. check show processes checkbox. see screenshot

android osx debugging android-studio adb

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -