Thanks TreKing, Apparently the issue is due to the WaitForDebugger System setting being a value of 1, causing the force close dialog. If the setting is a 0 then the dialog does not appear. Since DevTools doesn't work on Android 2.1, I downloaded the source code for the app and found various classes that are not supported under Android, especially the classes that end in Native. In System.settings you can read the DebugApp value and the WaitForDebugger variable, but can't write to them because of the Native classes.
For some reason, since I added some code to my app to read these values, the app has not popped up the WaitingForDebugger dialog. Go figure. I even have the debuggable flag in the manifest.xml file set to true. It would be nice to have some working api to be able to read and write these system settings, since they are so important and they were at one time available in previous releases of Android. Even the 2.1 emulator has the DevTool app that works, but the same app doesn't work on Android 2.1 in the nexus one phone. Anyways, TreKing, thanks for your help. If I come across something concrete that solves this issue for others, I will post again to this thread. On Feb 2, 3:56 pm, TreKing <[email protected]> wrote: > On Mon, Feb 1, 2010 at 8:10 PM, AZDev <[email protected]> wrote: > > Does any one have any advice on how to get the phone to stop looking > > for the debugger for my app? > > I had this happen to me once or twice. Try exiting the debugger and using > adb to push the apk to your phone. If that doesn't help, try a reboot. One > of these worked for me at some point, can't remember which. > > ------------------------------------------------------------------------------------------------- > TreKing - Chicago transit tracking app for Android-powered > deviceshttp://sites.google.com/site/rezmobileapps/treking -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

