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?
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?
I am developin with Eclipse on an Android device. Each time I want to install the new version of the app on the device I need to connect it, enable USB Debugging, install the app, disable USB Debugging, unplug the device (optional). I was wondering if it was safe to just unplug the device without disabling USB Debugging. After all, the device is not mounted, right? But there is the adb, talking to it. It would be much more convenient to be able to do that. Does anyone know if it is safe or unsafe?
I was cruising an Incredible manual online and I saw this screen about connecting the Inc to a PC. I'm new to Android but I did have an Eris for a few days to try out. On that phone I would hook it to my laptop, open the notifications bar, and choose "Mount" to be able to drag files back and forth.
In this picture, there is no "Mount" choice. How do you drag files back & forth?
Also, what is USB debugging? Do I need to select that in order to drag files back and forth?
I own a Blu Studio 5.5s and it is stuck on bootloop. I can not enable usb debugging, and recovery mode does not work for me. I accidentally deleted my "systems" file in my phone's hard drive. I went to a store, and they said I need to put a new update on my MicroSD card.
I can't get adb to recognising my HTC Desire on my new upgrade of Ubuntu 10.10 Maverick Meerkat.adb devices shows List of devices attached no permissions Now, there are plenty of tutorials for changing rule files under /etc/udev/rules.d/.However, I cannot find one specific for 10.10.Can anyone tell me whether the rule file name and content is the same as described at link text, or are we looking at some new settings for this new release?
Problem: When pressing the power button to turn phone on, there is no samsung boot logo. the only thing that shows up is a black screen, [the backlight] it will stay that way until the battery dies.
i know it's not a problem with the display because i can get to the recovery screen by pressing the three buttons. i tried numerous wipes and factory resets, even tried to reboot from there. but it still wont boot up, it only ends up with that black screen. Also the green battery shows which further indicates that it's not a display problem.
Model: GT-I9500 FCC ID: A3LGTi9500 SSN:-i9500GSMH RATED:3.85V===:13 00mA MADE IN KOREA BY SAMSUNG IMEI:355236030 S/N:R21D48HDDA
That's basically all i know about this phone, i know it's a clone because on the hardware differences under the hood compared to the real S4. [it's probably a legend or a superking since it's from korea i think] im not sure which operating system it runs, from the looks of it i dont think it has one.
Some things i've tried: i downloaded android SDK, MTK droid tools, SP FLash tools, for some reason, i keep getting error 8200 in sp flash tools and mtk droid tools doesn't detect my phone. I tried flash updating firmware with adb sideload, it always ends up with an error ''aborted''. i can't enable usb debugging since the phone wont turn on.
First off, im running HC2.1, 1.Dont you have to root to be able to upgrade to a different software type? I rooted before in stalling greek35 2.1, then upgraded to HC2.1, do i have to reroot? 2. Rooting is just, using the update.zip file you download, then using droidroothelp.apk program, mount3, update those 3 things, flash 15.0, rename, reboot ect...so basically as long as you have SU app on your phone your rooted no?
Now boot animation question I downloaded a boot animation, connected my phone with usb debugging, used the cd command and abd push bootanimation.zip /data/local, rebooted and the boot animation didnt change..after i used the push command, it said x.xkb transfered in 1.23seconds or whatever...any suggestions?
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?
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?
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?
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.
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?
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.
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?
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.
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?
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?
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?
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.
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 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?
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.
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?