Android :: Debugging On Live Device
Sep 23, 2009
I have an app that runs fine on my local emulator, but is crashing on my personal device. I would like some advice on the best way to debug this. Are there log files (stack traces) saved somewhere on a non-dev phone, can it be enabled?
View 4 Replies
Feb 16, 2010
I installed Windows USB Android SDK driver for the Android Dev Phone 1 I enabled all the debugging modes and stuff on the phone.It even says.USB debugging connected.When I type adb devices , it shows me only my emulator, and not my phone.It doesn't seem to recognize my Android Phone as an adb device. Why is that?
View 1 Replies
View Related
Sep 17, 2010
I have gotten to to the point where I need to test my application on a real Android device. I have obtained an Motorola Droid phone and attached it to my computer (Windows).I have installed the USB driver, and I believe that my computer can see the phone. When I start up the DDMS it shows my device as 'Online'. I cannot, however, figure out how to get the debugger to use the device instead of the emulator. The Android documentation states that when I run my program from within Eclipse that I should be presented with a 'Device Chooser', but that does not happen. I read somewhere else that pressing F11 will bring up the Device Chooser, but it only runs the application on the emulator. I know there is probably something obvious that I am missing here, but I cannot figure out what it is.
View 10 Replies
View Related
Nov 4, 2010
I'd like to connect a HTC Desire to the PC only as debugging device. Every time I plug the cable in it searches for the HTC Sync software on the PC, and it takes a long time until finally a message appears on the phone like "no HTC Sync found, please install". After that, the phone is available to eclipse for debugging. But how can I avoid that everlasting searching process?
View 3 Replies
View Related
Nov 20, 2010
I'm using eclipse 3.6 (It was the only download i could find couldn't find 3.5).When i run SDK Manager.exe I see that I have USB Driver Packer, Revision 3 installed.I Set my phone to enable USB Debugging and I plug in my phone to my computer's USB jack.At this point, I do not see the device in eclipse debug configuration. Should I? Am I missing something?
View 1 Replies
View Related
Oct 2, 2010
Why don't I get LogCat messages when I debug on a real device as opposed to the emulator?
View 7 Replies
View Related
May 19, 2010
On Mon, May 17, 2010 at 3:17 AM, evilmonkey <sheng...@gmail.com> wrote: > Are there any way to fix this problem?
View 2 Replies
View Related
Jul 7, 2010
I have a Android phone connected with host computer with USB cable. ADB runs well and I can debug application on phone. The only problem is that the App requires special network setup which I can reach on host but not mobile. Is there a way to let the device send all network operations through ADB and Host network?
View 1 Replies
View Related
Jul 28, 2010
Is there a way to route requests made through the web browser on an Android device through Fiddler? I would like to debug web requests that my device is making when I load a web page, and the equivalent emulator not necessarily giving me the same results.
View 1 Replies
View Related
Oct 16, 2010
I bought CoPilot Live 8 thru Google market for my G1 using one of my gmail addresses. I had to uninstall it as I ran out of memory on my G1.I temporarily removed other programs to gain the space needed to reinstall it so I could deactivate it per coPilot's FAQ that said this was necessary in order to transfer/install it on a different device. I then uninstalled it from my G1.I went to Google market to download the installation file to my EVO 4G (which uses a different gmail address) but there is only an otpion to buy it again - there is no free/trial install file available to download to which I could add my product key to activate it. There is no trial download file available on CoPilot's website.I initiated a support ticket several days ago and have not heard from them. Seemingly they already have a procedure to do this as their FAQ says it is doable.
View 1 Replies
View Related
Jul 20, 2010
I bought CoPilot Live 8 thru Google market for my G1 using one of my gmail addresses. I had to uninstall it as I ran out of memory on my G1. I temporarily removed other programs to gain the space needed to reinstall it so I could deactivate it per coPilot's FAQ that said this was necessary in order to transfer/install it on a different device. I then uninstalled it from my G1. I went to Google market to download the installation file to my EVO 4G (which uses a different gmail address) but there is only an otpion to buy it again - there is no free/trial install file available to download to which I could add my product key to activate it. There is no trial download file available on CoPilot's website. I initiated a support ticket several days ago and have not heard from them. Seemingly they already have a procedure to do this as their FAQ says it is doable.
View 1 Replies
View Related
Apr 15, 2009
I have a background service which sometimes does not work properly. I need a logfile which displays me information so that i am able to find the error.But when i use Log.d() then ddms shows me only a few hours of the logfile. Is there a way to expand this? Or is there a more suitable way for my problem?
View 2 Replies
View Related
Nov 14, 2009
I have just got myself a new HTC Tattoo which is NOT carrier locked. Now I'm unable to find out how to use that to debug my application. Is is possible to do that on an "unlocked" HTC Tattoo? If so, can someone point me to some resource outlining how to do that?
View 3 Replies
View Related
Sep 20, 2010
I've got a Nexus One running a debug version of my application, and I just today downloaded and installed the 0.9.8 version of the SDK tools, and I swear that Debugging latency has increased incredibly. I never bothered to measure the overhead before the upgrade because I always found the phone's debugging overhead to be small enough to not affect matter. Well, now I have AI code which runs at ~10 MS standalone taking 300-400MS through debugging. A 40X performance loss is not something to cough at. Is it just me not seeing the performance loss previously, or has something broken?
View 2 Replies
View Related
Jul 14, 2010
I am not sure how is this possible?But we would like to debug the apk files without having the source code (source code lies with developers).But if something breaks I would like to report it to the developers. We would like to report the crash logs and the normal info about the app.
View 3 Replies
View Related
Feb 20, 2009
I can debug the Android Java code using eclipse and using the Remote Java Application debug configuration. This does not step into C/C++ code however as expected. I understand I have to attach the gdbserver to do this. Can someone provide a step by step tutorial on how to debug the native code of Android?Is there a eclipse plugin that makes this easier?
View 3 Replies
View Related
May 18, 2010
I have an app which, for the last 12 hours or so, I can't NOT launch in debug mode on my handset. No matter what I do, it shows the "Process ... is waiting for the debugger to attach" dialog, and the process appears with the little green bug icon in DDMS. Never seen anything like it.Here's what I've tried: - Using the "Run" command, not "Debug", from Eclipse (duh) - Rebooting all hardware - Doing a clean install on the handset - Setting android:debuggable="false" in the manifest.That last one's freaking me out. If I can't turn off debugging for a production build, I can't distribute the app. And it's currently my top earner in the Market.Anybody got any ideas? About the only other thing I can think to try is a clean reinstall of Eclipse and the SDK, but that's enough of a PITA that I'm hoping I don't need to go that route.
View 5 Replies
View Related
May 4, 2009
I am able to see the logs generated from java program (using Log class or System.out.println) using adb logcat.Can anyone tell me how to see the printf/cout statements in C++ application for android.
View 2 Replies
View Related
Jan 29, 2010
I know that, to be able to sign a package with your own keystore, you have to use the export from eclipse. However, its not easy to keep doing this when you're still debugging the application. Since i have external libraries that uses another keystore and use the shareUserId, it would be reasonable to let, in eclipse plugin, you debug an application using any keystore.Any tips of how to make debugging easy with a private keystore?
View 4 Replies
View Related
Dec 24, 2009
I have tried to debug in my device (HTC Hero) that has android 1.5 (I think, and even I don't know how to update) and well.I have right checked the debugging option on the mobile adjustments of apps. So when I click on run, it goes fine but when I click on debug (all of this in eclipse) it does the same actions that it does in the run option. So I cant see it step by step.
View 8 Replies
View Related
Oct 16, 2010
I've turned on USB debugging.I have the latest HTC Sync and android SDK components.I'm using Eclipse 3.5 on windows XP. I'm running Android 2.2, and am asking for 2.1 as the minimum in the debugger.I work in Eclipse/Java just about every day, and have for several years.I'm even writing an Eclipse plugin at work as I type this neither Eclipse nor Java are new to me by quite a stretch.When I start a debug session for the "Skeleton App" sample project, I can see my Evo, and the activity launches (with any freshly saved changes), should I select it.I have tried different android connection types (charge only, disk drive, HTC Sync, and USB tethering) to no avail. I've tried Eclipse 3.6 for a bit before yielding to the inevitable and reinstalling 3.5. I monkeyed with the emulator for a while but ran into a different set of issues (I had to reboot the emulator every time I wanted to make a change... Eclipse's auto-build/hot-swap has me spoiled).Is there something I can add to (or remove from) the AndroidManifest.XML to deal with this? A magical incantation perhaps? Must I pray towards San Jose three times a day on a rug woven from kernel gurus' vast and scruffy beards? Is my Evo not Kosher? Must I be "sky clad" while debugging? Shall I teach my laptop to genuflect?
View 3 Replies
View Related
Oct 27, 2010
I want to run and debug my Android apps on my HTC Incredible.Connect your Android-powered device to your computer's USB port. Windows will detect the device and launch the Hardware Update Wizard".But it doesn't.When I connect my phone it's visible as a drive letter and its SD card is visible as a second drive letter and I can transfer files.But Hardware Update Wizard doesn't launch. Nor is it already connected if I go to my SDK tools directory and do "adb devices" it returns blank.So what do I have to do to debug on my phone?
View 2 Replies
View Related
Nov 29, 2009
When I run my app on my phone from eclipse, it always runs in debug. This has only recently started to happen. I guess I must have inadvertently changed a preference or something, but can't work out what. Does anyone know how I can switch it back so I can run without debugging?
View 2 Replies
View Related
May 15, 2010
Is there a way to trace through function calls at the lowest levels of the Android system? Right now when I debug in Eclipse, it goes through the source files that are located inside the frameworks folder, but is it possible to go even lower? For example show what functions are being called from the libcore folder. I am also interested to find how it communicates with the linux kernel at the bottom of the layers. Is there a way to do this?
View 3 Replies
View Related
Aug 11, 2010
Is it possible to enable usb debugging (under settings/applications/development) programatically from within my app? I was looking at Permission.WRITE_SETTINGS and http://developer.android.com/reference/android/provider/Settings.System.html but couldn't find anything appropriate.
View 1 Replies
View Related
Oct 4, 2009
I want to use my phone for debugging in eclipse, but there is nothing in driver of sdk 1.6 for samsung galaxy anyone can help me?
View 5 Replies
View Related
Mar 4, 2009
I'm debugging a Javascript+HTML app. All the content is in ./assets.
The app works fine in Firefox, Safari and iPhone (over the web).
But in the WebView, I only get: D/WebCore (626): Console: undefined line: 0 source: undefined
I need to debug this code. Could I either: - enable more debugging in the WebView? though I think this needs to be done in the framework. or: - set up a desktop WebView equivalent where I can run a Javascript debugging tool?
View 5 Replies
View Related
Apr 5, 2010
This is pretty simple: I'm using NetBeans on Linux with Android emulator 1.6. I have Logcat on my android phone, but the process of getting the messages to somewhere readable isn't smooth at all. Can someone tell me how to get Logcat running on the emulator? Is there anything I can do to see debug messages other then having to copy the apk to my phone and testing it?
View 2 Replies
View Related
Jan 20, 2009
I wrote some reverse geocoding, geolocation and proximity alert routines for my little Android app. I took my Android out with me when running errands to test my routines; they're kinda hard to test from my couch. Half of them didn't work. What's the best way to debug something like this? Sprinkle a bunch of printf statements (or whatever you call them in Java) throughout the app? Log everything to the sdcard? Write a toggleable view (is that even possible?) that acts as a console? Faber Fedor Cloud Computing New Jersey http://cloudcomputingnj.com
View 6 Replies
View Related
Jun 10, 2009
I am using the android 1.5 and have compiled and run the Snake sample application on the Emulator, using Eclipse to launch it.When I try to debug it using the Eclipse environment I get the error:"Launch error: Failed to connect to remote VM. Connection refused."I do have the AndroidManifest.xml debuggable=true set and i went into the emulator and set Dev Tools > Development Settings> and checked "Wait for debugger", and added the snake app to the Debug App.So not sure what else to do to get it to work.I also turned off my firewall just in case too.
View 2 Replies
View Related