Why is debugger not attaching when trying to debug using android emulator and eclipse?
-
I can't debug any of my applications on my emulator, they all hang at "Application... is waiting for the debugger to attach. This wasn't a problem before. I have tried to debug apps that I programmed months ago and even those fail to be attached to the debugger. I have searched around and found common solutions to this problem such as: Using permission "android.permission.SET_DEBUG_APP" and having the application tag android:debuggable="true" found in this question Attaching debugger - android problem but after checking, found my apps already have these settings set. I have also made sure 'USB debugging' setting is checked under Settings>Applications>Development. I also always check new updates for eclipse. I think I started having this problem after an eclipse update. Has anyone found a solution to this issue? I have been working on a really cool app and been able to create the UI, but really need to be able to debug as I will be implementing things I haven't before and no debugging would be a major set back and slow me down.
-
Answer:
I think you're in for the long haul, or, you might get lucky. This question has been covered in Stack Overflow multiple times, and unfortunately it seems where are many different solutions. It will be a process of isolation. See here: http://stackoverflow.com/questions/4375375/how-to-resolve-waiting-for-debugger-message
Eugene Van Der Merwe at Quora Visit the source
Other answers
I see that you have been checking for new Eclipse updates...have you also been updating the Android SDK tools? When there's a new release of Eclipse ADT, often times you also have to update the Android SDK as well.
Kevin Tambascio
Dude its irritating. Just pause the debug when you are getting this error, and again resume your debug. it will work. after sometime your direct run will also work. Have fun.
Ravi Ranjan Lal
Related Q & A:
- Is it possible for android emulator to send multiple SMS?Best solution by developer.android.com
- Is it possible to post something on a facebook group using android?Best solution by Stack Overflow
- When trying to open attachments, it doesn't open, but says "scanning for viruses".?Best solution by Yahoo! Answers
- When did we start using fireworks for the fourth of July,and why?Best solution by slate.com
- What is the incoming and outgoing server information for Yahoo account when trying to set up Microsoft outlook?Best solution by emailaddressmanager.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.