I have a Sony Ericsson Xperia Mini device which I use to test android app development. Earlier it is working fine if I run any project from Eclipse as Android App. I can select the device and run the program in that device. But after formatting I reinstall all the systems(e.g. eclipse, ADT plug in, driver of the device), but when I try to run the program, it is telling 'No compatible targets found', although I have connected the device properly. Actually the eclipse-ADT plug in system not all getting the device. What may cause this problem?
Try to re-install your mobile's drivers..
It is due to setting in the device...non-market app and USB debugging should be allowed.
Related
Hello Android Enthusiasts,
I am in a funny situation which, it seems, I am stuck in. I have been developing simple Android apps on Eclipse and running on the emulator just fine. But recently my attempt to install and run them on a real device (Samsung Galaxy Y) failed again and again.
I stopped the emulator and plugged my real device to the computer with a USB cable. As soon as I did that, I would see the "Installing device driver software" notification and it would complain that the driver for the Abstract Control Model, ACM, was missing.
A few times I ignored the notification and tried to launch an app on my phone. But Eclipse would simply ignore my read device, start the emulator, and run the app on it instead.
I know it is not an Eclipse issue. But how do I get around this USB issue which seems a common problem on Samsung devices based on comments left by many on various sites?
Thanks.
you need to install the appropriate USB driver for your android device Go through this link first Setting up a Device for Development and Installing a USB Driver
I am having trouble debugging my android app on my phone. My Phone is an LG Optimus G running on android version 4.0.4. Everywhere says to update the driver, but when I do that, my computer doesn't recognize it. I have android ADT installed with SDK versions 4.2, 4.0.3, 2.3.3, and 2.2. I think it might be the fact that my phone is a 4.0.4 and not 4.0.3. And I have USB debugging enabled on my phone. The emulator is just to choppy and laggy to debug on. And one more thing, I have tried debugging already and it has not found the device, although i can find all of the files and pictures on File Explorer. Please help.
If you are on Windows I suggest you try downloading PdaNet http://pdanet.co/, this app is used to share Internet from your android phone to your PC, BUT ALSO helps you install the correct drivers for your Android.
I've found that using this program is the most simple way to get most Android phones working on Windows, plus if you don't want the software you can just uninstall it and the drivers will be kept.
I was able to debug my Android application on two different computers, but have not done so for some time. Yesday, I attempted to debug my Android application on both of these computers but was not able to.
My device is listed when I use the command "adb devices".
My device is a Samsung S II LTE, but the o/s version has changed. When everything was working it was Android 4.0.3, now it is 4.0.4.
My device does appear in the Eclipse "Android Device Chooser" > "Choose a running Android device", but the "Debug" column is blank, and if I try to debug using that entry, my application is installed into the device and excuted, but not debugged.
Yes, I have explicitly specified "Debuggable" in the application manifest, although it should not actually be required.
I tried installing the latest version of Kies (and the USB drives that come with it).
I tried installing the USB drivers directly from Samsung.
Yes, "Settings" > "Developer options" > "USB debugging" is checked.
However, all of these efforts did not make Eclipse / Samsung Android S II LTE (4.0.4) debugging possible. I also noticed that there is an SDK for Android 4.0.3, but not for Android 4.0.4.
Is my inability to debug my application due to the Android 4.0.4. SDK not being available?
Better yet... is it possible for me to debug my application on my device again and if so, how do I go about it?
Many thanks to anyone that can help me!
Your problem doesn't sound too bad. Make sure you've updated Eclipse and your SDKs/tools. Make sure you've turned your phone off and on.
You should first try debugging a new empty Android project. Does that work?
Can you access logcat through DDMS? If not, can you run and access logcat through the command-line (without going through Eclipse)?
Did you set some breakpoints? From your project, did you right-click on it, and select Debug as Android Application?
Your problem is that windows doesn't recognise your device.
I recommend you to install the right driver for you samsung galaxy SII Or you can install Samsung Kies wich comes with a set of driver that should work for your Android developments.
I've installed eclipse (JUNO version), SDK, ADT (20.0.3) and configured them through the Developer.android.com. After that I made a virtual device on eclipse (Android 4.1 API level 16) as well, but when I run the "Hello World" application in eclipse, the emulator is running with out error but the app is not running on the emulator.
There is also the problem with real device. I use Windows 7/64 bit and HTC incredible S phone. When I connect the device to my pc, windows detect it, but eclipse does not detect it. (The USB Debugging is enable on device and USB driver is updated on windows).
I tried different solutions like reinstalling eclpise, SDK and ADT, removing ADV and creating the new one,... but the problem did not solve.
Did u located your android sdk? If not,locate the sdk as follows:
open Eclipse->Windows->preferences->Android->Select your android sdk folder.
then please try to run you program. Tell me the status after that.
I recently built a new PC, got the latest android SDK, Netbeans 7.1, java SDK, etc installed so I could debug my android apps. When my phone was connected to my old PC via USB I could simply run my app in Netbeans and it would automatically send it to my phone for debugging. All my phone settings are the same (install 3rd party apps: true, allow USB debugging: true) and I've upgraded all my app projects to the latest SDK version in Netbeans, so those aren't the issues. In addition, I've got the Motorola Droid X device drivers installed. I tried installing just the Motorola ADB interface driver but doing so it tells me a newer version is already available.
Can anyone help shed some light on what else I need to do to make Netbeans send the running app to my phone instead of starting the emulator? Thanks!
EDIT: The device does appear when I run "adb devices"
I'm not sure what fixed it, but I think one of the gotchas of netbeans/android is it doesn't give a great error message when it's time for you to uninstall the debug version of the app on your device. Once I did this it deployed just fine on my phone.