I can't debug any android projects on my PC. I am using the adt bundle
version where in both Eclipse and SDK are bundled together. I tried almost all the solutions I found on here like restarting the PC (running Ubuntu), the android device and the adb server
, adding android:debuggable="true"
to the manifest.xml
file, changing the debug port to 8601
but nothing helped. I have also tried debugging on another PC with the adt bundle
and couldn't debug on it either. Is there something wrong with the adt bundle that prevents me from debugging or is there some setting in the SDK or Eclipse that I have missed out on?
Edit:
The error I get:
Launch error: Failed to connect to remote VM. Connection timed out.
Can anyone who has successfully debugged an android app using the adt-bundle
comment on this post so I know it's possible?
Did you turned developers options on in device? see here
also this may be useful
for your error connection timed out
go to Windows->Preferences->Android->DDMS. Change default port, apply, and restart Eclipse.
if this also does not work
do CTRL + ALT + DELETE and kill all adb.exe processes
按照以下步骤重新安装安装程序: http://www.javatpoint.com/how-to-setup-android-for-eclipse-ide
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.