I've got Windows 8 and I've get Eclipse installed. I tried to run an application on my phone, HTC Sensation, but Eclipse doesn't find it. When I press the run button, it says: "No compatible targets were found. Do you wish to a add new android virtual device?" But when I connect Samsung Galaxy S3 to computer, it magically works! But sadly, that is not my phone. It must work on Sensation. Oh, and on Windows 7, it was working perfectly.
As far.. I tried a lot of thing, but nothing worked.
I tried to install the newest HTC Sync, doesn't work.
I tried to reboot my phone, ADB and Eclipse, but doesn't work.
I tried to run HTC Sync (HTC Sync doesn't recognize Sensation too) in compatibility mode in Windows 7, and I tried to run it as administrator, but it doesn't work.
I searched the web, but nothing helps...
In device Maneger, under "Other Devices" it is "Android phone", but there is yellow triangle, and anything I click... nothing helps.
Also, I can browse and copy files to SD card on my phone. So Windows DOES recognize my phone!
But before, when i had Windows 7, everything works perfectly!
Some things you can try:
Install USBDeview to unregister the drivers and install them again
Use another USB port/cable. Some people have problems with the front ports of the pc, or with USB3 ports. Also, a low quality cable can cause your phone to connect and disconnect over and over again.
Try downloading the google drivers, and update to them in the Control Panel.
Related
Genymotion and the Android emulators weren't working, so I decided to use a physical device to test apps. I have a Windows Laptop (Lenovo). I have a Samsung Galaxy S Lite, and I think I did the right things (Checked USB debugging on phone, downloaded necessary driver, plugged phone in to computer), and when I run my app in Studio, my phone shows up. However, when I select it and press "OK", nothing happens on my phone. What am I doing wrong?
if you want to run your application in samsung you have to install KIES software in your PC. you can download latest software from here
I figured what was going on - I was getting an error, and I didn't see it! I simply remade the project and made sure the package name had no capital letters, and it ran perfectly!
I've installed Android studio on my home PC (running with windows 7 Professional), and tried to
use my Mobile Phone (Glalaxy Ace gt-s5830) for developement. Problem here is that neither android studio nor adb-tools find my device. I enabled USB-Debugging ofc, I have downloaded the USB-Driver from the sdk-studio-extras and tried to manually install my device following this: usb drivers
I searched for drivers specific for my device and found only KIES, and unfortunatly, this works like crap. Most versions of it won't even start, those that do don't do anything (every option I got either fails or feel like the buttons have no function at all).
The device itself is working fine on my Macs and Linux OS at work. What do I need to do get android studio to recognize it as a device to choose from?
Okay so the facts:
I have been developing for Android device (Samsung Galaxy S3 Mini GT-I8190) in my PC for the last half year.
When i installed the developing tools, android SDK, eclipse, etc, all was like "plug and play"
It was easy and worked verry well.
So some days ago i just realised Eclipse shows my device NO MORE, here is how i tried to solve this issue in chronologic sorting:
Tried to replug my device
Tried to restart eclipse
Tried to restart device
Tried to restart PC
Tried to uninstall USB drivers and reinstall via Kies (I have tried
the old Kies, it has installed a driver which was not worked.)
I tried to update my Kies to a newer version and install the usb
driver again, not helped.
I tried with the new Kies 3, and it says that this version does
not recognise my device.
I tried to uninstall Kies, uninstall the the usb driver and download
a simple SAMSUNG driver file, so basicly i tried to install it
without Kies, not helped.
I tried to reinstall Windows 8.1 (yes, i made a whole system reinstall for this, which is not helped)
I tried to download Google usb drivers from SDK manager, not helped
I tried some commands to adb like "kill server" "starts server"
I tried to manually update driver from MyComputer's manage menu, not
helped.
I have made a factory reset on my device.
My computer sees my device so i can trasfer files. Developer mode is on.
Running adb devices output is empty, so i cannot see my device in list.
So here i am at a projects deadline with a mystery and i cant get it work.
Whoever solves this gets 500 reputation from me. Im not kidding, this is all i can offer.
E D I T:
Tried everything mentioned below. Is it possible that my phone or my PC's hardware makes this mess?
Try this :
Right click on My Computer --> Properties --> Device Manager --> Right Click on your device --> Update driver software --> Click on " Browse my computer for driver software --> Give path of your android sdk like "D:\Android_Sdk\sdk\extras\google\usb_driver" and tick "Include subfolders" --> Click next
Now repeat the steps till "Browse my computer for driver software".
Then click on "Let me pick form list of device drivers on my computer -> Click on the first option and click next and then click yes.
Drivers will be installed for your device.
This works for me.Hope this helps.
Try this process :-
1.Uninstall previously installed drivers and close eclipse
2.Connect your device with USB storage & USB debugging in Developers options on
3.Go to find new hardware wizard in you computer
4.Install Drivers including adb from there by selecting your device
5.After that restart eclipse , your device might be detected
These steps worked for me when i faced the same problem but my device was different , hope this works for you
As you hav tried every method now try Universal Naked Driver 0.72 removing previously installed drivers.
Universal Naked Driver works for most of the devices.
another alternative UniversalAdbDriver
Also check your supply USB port too, if u pass on a hub usb disconnect of this and link to pc directly.
follow this:
1 . find in SDK Manager --> Extra --> Google USB Driver -->install.
2 . please install samsung kies3 in your system . and connect your device with it then try ..it will work 100% . also tell me which target version you r using in your project if it 19 API level and your mobile is 17-18 API level then it ADT will not give u permission to run (not show you your device in android device choose dialog )
The answer is mindf. itself.
Today i asked my friend to test this problem with his device, (he's got a very same galaxy s3 mini device) and what i found was really blown my mind.
Eclipse does see his device, but not mine.
**
Yes, two identical, very same product and mine is invisible for Eclipse.
**
I just cant find words...
(It happened to me today after the updating from 22.3 to 22.6)
Verify " AndroidManifest.xml > Manifest Extras > Uses sdk > Min SDK Version " suits your device.
I was using my Samsung Galaxy S3 Mini GT-I8190L and I forgot that the minimum SDK for mine is API 16 (for Android v4.1.2). I fixed the number and now everything it's ok.
Try installing UniversalAdbDriver. It worked perfectly for me (GT-I8190).
I'm running a small android project on eclipse ADT bundle.
When I debug it on my SGS1 phone it works fine.
However, when trying to debug it on a new SGS3 device,
the device is not shown on the targets devices and I can't debug it.
I've already enabled USB debugging on the device,
And installed Keis and the device driver (for windows 7, 64 bit), And restarted the computer.
Funny thing is, when I run the debugger in eclipse,
it does run the application on the phone, it just doesn't recognize it
(and of course debug breakpoints are useless in this mode).
Would appreicate any help- thanks.
This is a driver issue. Try this. Did not work, install alternative drivers.
You seem to have already tried Kies: try installing drivers separately(ref):
Go to the Samsung Mobile site
Search for your phone using the search
box.
Once you find your phone, click Support in the top right of the
phone's product page.
In the list of downloads, download and install
the USB Driver.
If that still does not work try Universal Naked Driver and/or Universal ADB Driver.
I have tried connecting the USB debugger on Samsung Galaxy S2 and Samsung Galaxy Nexus. It still manages to fail on both devices. At the moment I am using Windows XP and I am running out of ideas.
Here is what I tried:
Installed SAMSUNG_USB_DRIVER_FOR_MOBILE_PHONES_1.4.8.0.exe
Searched and tried to install the drivers on Google drives.
Has anyone have this similar problem and could share a solution?
EDIT* Both devices Samsung Galaxy S2 and Samsung Galaxy Nexus are able to connect to the PC but not to the debugger. Drivers installed with different variances even done installing Samsung Kias.
I am adding a bounty tomorrow for 50 reps. I really need to test what I am doing on an actual phone.
You need to download Samsung Kies I know that the software description doesn't mention that it is the correct drivers for developers, but it in fact is.
An old issue used to be:
Use the USB2.0 ports on the back of the PC not the 1.0 front facing port.
I feel you have not installed sdk properly. Reinstall the http://dl.google.com/android/installer_r18-windows.exe, the open the adb and update all the things for the particular sdk you want.
Then verify that you have given the exact location of sdk in eclipse>window>preferences>android
Then restart eclipse.
Even you cant open it then set environment variables. For that add following ;E:\android-sdk-window\platform-tools; in PATH. Then restart windows.
After that try adb devices, adb kill-server command in Command prompt.
You will be able to see your device.
Is there any "ADB interface" devices in your PC's Devices Manager?
If you are using DDMS,Maybe there is a console(cmd.exe) window behind DDMS,you can get some log there.
Did you enable the debug mode on your device? This is not listed in the steps you followed.
Go to Settings -> Applications -> Development -> and set USB debugging.
You can use PdaNet software to connect your device for debugging. I was have the same issue and resolve with using this software. Use the following link to download this software:
http://junefabrics.com/android/download.php
I also have samsung Galaxy SII and i face the Same Problem before some days. But now i am able to get debug the app in My SII.
Please follow the steps and make sure that you follow it completely then only you cna able to get debug in your phone.
First select the Option to Install App from Unknown Sources.
You will find that option in Setting -> Applicatios -> Unknown sources. Select it as yes.
then Select the Option like USB Debugging.
You will find that option in Setting -> Development -> USB debugging. Select it as yes.
Now, Install latest Samsung Kias In your PC. Reboot Your PC, Eclipse and may be Phone also
Now, Try with connecting the Device.
Hope you will get debugging your app in to your phone.
If not then let me know which trouble you get.
Enjoy. :)
My phone has this:
Settings -> SD card & phone storage -> Mass storage only (USB connection mode is mass storage only)
Make sure that this option is NOT checked. If it is u can enable USB debugging and unknown sources and it still wont work.
If you just need to connect to the device for install and debugging you can manually select the driver to use when you plug it in.
Don't let windows search for it, choose I will pick the driver from a list, then select android composite ADB interface. It may warn you that this driver doesn't match, but it works!
I also had many problems to get samsumg galaxy S2 work on my pc. If I remember correctly finally I ended up installing Samsung Kias and installed some drivers through there. Then restarted the computer and never launched kias from then on. My phone is still not visible form command line adb devices, but now I can develop in Eclipse and deploy on the device without any problems.
From time to time I lose connection to the device (E.g. if another device was plugged in). Then I need to restart Eclipse and my device becomes visible again.
Some friends of mine also shared that some other mobile device usb drivers were conflicting with the samsung drivers (it was ZTE if I am not wrong). They uninstalled the ZTE drivers and then got the Samsuung running ok too. Try consider uninstalling all other usb drivers before you try the Galaxy S2.
Have you installed exactly the right SDK version for the phone you're using?
Given that you can access the phone on the PC via KIES, I assume that you have all the correct USB drivers installed.
Ensure that debugging is enabled on your phone. This can be done from the Settings preferences.
Install the Android SDK. Add %ANDROID SDK_INSTALL_PATH%/platform-tools to your path.
If everything is working up to this point, plug in your phone and execute the following from the command line.
adb devices
and you should see your device listed.
Install the Android Developer Tools plugin in Eclipse.
Create/Import your project.
Right click your project and from the context menu, select Debug As --> Android Application
I have had exactly the same problem as you, I even gave up on developing for 2 months because of this. I have just started again and really needed to get this working.
I tried all of the above and pretty much every combination of the above and still failed.
I have just got it working by not doing anything different apart from when I uninstall the old USB driver (add remove progs), the next time I installed AGAIN, I used the SAMSUNG USB Driver for Mobile Phones V1.3.450.0 (an older version than ones suggested on other help forums, I just got it by accident somewhere and thought I'd try it). The next time I plugged the phone in, it did all the usual finding CDC etc. that it always did when it failed...but then.... it asked for the ADB Driver, WOW! I got excited. I just selected Install Automatically and away it went.
I still already had the PDANet thing running and that popped up saying a connection is available. I've not used it though because it wouldn't install on my phone anyway.
FYI, I have these settings on the phone:
USB debugging ON (obviously)
Allow Mock Locations OFF
Unknown Sources ON
I hope this helps.
Dan.
This may not help at all since you have probably tried it already but I had huge issues on two different windows 7 machines getting my s2 to connect for debugging.
I ended up getting one working by plugging in the s2 USB connection, un-installing the drivers for it in the device manager, unplugging the USB connection, un-installing Kies, downloading the most up to date version of Kies, installing that and plugging it back in.
The other one was even more painful, it was a while ago now but I did the same as the above but removed eclipse and the Android SDK as well, installed the latest version of Kies first, the eclipse, then the sdk and made sure all of that was done before I plugged the phone in.
I faced same issue which you faced..
I solved this by this way.
1) Right click on my computer and select Manage
2) Then select Device manager..
3) connect your phone (galaxy s2 in my case)
4) I found one device with named "unknown" in sub option I foung my phone name i9100
5) Then right click on that and select update driver software
6) you will see then this..
Tadaa....Done :)
Hope this will help you also..