I have Android Studio on Windows 8.1 and I want to run my android app on my Samsung Galaxy S7 phone.
Here are the details:
USB debugging in my phone is ON
adb version is 1.0.36
Under Device Manger -> Portable Devices -> My Phone, the status is 'The device is working properly'
I also installed Google USB driver in SDK Tools
My desktop can detect my phone since I can read and write files using Windows Explorer
I tried the following but still, adb devices still does not recognize my phone.
Tried USB Configuration MTP
Tried USB Configuration PTP
Tried using different USB cables
Tried restarting Android Studio before and after I plug my device to my desktop
Did I miss any configuration? Any help is appreciated!
Thanks!
I too had the same problem.
I tried the following and it worked.
Make sure Developer options and USB debugging is enabled on your device
Then on your Windows system.
Open device manager and locate your device's ADB Interface Driver
Right click and choose properties
Check in the general tab if your device is working properly
If it is not enabled then go to Driver tab and select enable
You may have to try enabling your device a few times(7-8)
If this works then you may see the below message on the General tab
This device is working properly.
You need to restart your computer before the changes you made to this device will take effect.
And that's how I made it work.
install drivers for your device and enable developer mode for your device
While the simple answer here is enable debug mode and install drivers, I think the answer should mention that if nothing works , do install google drivers. I stumbled on a video explaining the same, so adding the link here.
https://www.youtube.com/watch?v=asbkkV-IIZc
It helped fix my issue with oneplus device. Also, I could get the google usb drivers from android studio > sdk manager > sdk tools section.
Hoping to save someone else's time.
If you entered command adb devices in cmd and don't see your device ID, you can to open Windows Task Manager and close adb.exe task. Then you need to open again cmd and enter adb start-server and check devices again.
If you don't see your device ID after all then maybe problem in phone or drivers.
I found the answer here
I just need to install Samsung USB driver and it worked fine. I guess the Google USB driver did not work for me.
Also, I didn't know that I need to install a USB driver even if I can already read/ write files to my phone when I connect it to my desktop.
In Device Manager, I was looking at the wrong device (Portable Devices). I should have been looking at Other devices and there I can see that the Samsung phone has no drivers installed.
Thanks!
I had the same problem. Just try another USB port on your computer.
rebooting of the android device worked for me. Also, try to use the port USB 2.0
I was also facing the same issue on my MAC-OS. Restarting the MAC fixed the issue.
I also installed Android File Transfer to check if this was only a debugging issue or if it was an issue with the connected devices. Even AFT wasn't working so it was definitely not a debugging issue.
I also got this message on launching Studio after restarting the MAC.
sometimes windows firewall prohibit the adb.exe in platform-tolls folder
first check your phone and be sure about "usb debugging" is "on"
check that Default USB configuration is on "transferring files"
if you checked 1,2 but the problem is not solved you should reinstall platform-tools from "SDK manager" then "SDK tools" uncheck "Android SDK platform-tools" click apply then reinstall it by check "Android SDK platform-tools"
I'm trying to test an Android application and have a device connected via USB. The device detects (and charges off) the USB connection but I can't seem to find any record on the computer (running Windows 7) that the device is connected. I looked in Device Manager and did not see an "Android Devices" category, nor did I see an "Other Devices" category. I looked on the device manufacturer's website to see if they had drivers; I could not find any. Does anyone have any idea as to how I could get the device to show on the computer? Thanks!
Most probably windows and especially android adb will see your android device after installing the Google USB Driver
I had the same problem for many of my android devices and most of them are running fine with the driver from google. Only for some sony devices I had to install special drivers.
In Android Studio go to Tools -> Android -> Android Device Monitor. Once it opens close it, this will reset your adb and you should be able to see your device
Your problem sounds related with drivers
the Google USB Driver works only for some android models, some other drivers are installed as plug and play but some others you have to install manually.
http://developer.android.com/intl/es/tools/extras/oem-usb.html
Also sometimes it happened to me that the adb didn't recognize the device while the screen was locked so you could also check that out.
It turned out that the USB cable I was using was a charge-only cable. After switching the cable out, the device showed on ADB.
I'm using an ASUS X75VC laptop running Windows 8.1 and am trying to enable application debugging on my Tesco HUDL running Android 4.2.2. I have been trying and failing different techniques for the last few hours so decided I will post to see if anyone else can pinpoint the problem.
I've checked the following;
My Android project is set to use 4.2.2 as the API.
My HUDL has developer mode turned on and allows the use of non-market applications.
When plugged in my HUDL displays the messages;
"Connected as a media device".
"USB Debugging connected".
However, using the command "adb.exe devices" does not list my device, and attempting to run the project while manually selecting a device doesn't display my device in the list.
I have searched for drivers on ASUS website however am not completely sure what I'm looking for as the results I had been shown were all to do with graphics card updates and such, no USB.
If anyone can help me it will be much appreciated.
Many thanks.
I got my hudl to work as a debug device on android studio with windows 10.
First you have to enable developer options (use google). Then connect as a media device.
It the appears as a connectable device wen yo run the app in android studio. You have to enable debugging on your hudl notifications.
Go to Control Panel > Device Manager.
Check that there is an exclamation mark next to Other Devices > ADB Interface, meaning that the driver is not installed.
For the ADB Interface, select Update Driver > Browse my computer for driver software > Let me pick from a list of... > Have Disk... > Enter the path to your Android SDK USB driver folder (ie. C:\Program Files (x86)\Android\sdk\extras\google\usb_driver).
Ignore the warning and complete the installation.
I managed to get my hudl 2 to work with a good bit of messing about. some of these steps may not be necessary but in the end i got the hudl debugging
Connect the Hudl via usb
On the Hudl change its connection mode from media device to camera
Download and install the following stuff https://software.intel.com/en-us/android/articles/intel-usb-driver-for-android-devices
Open the device manager and look in Other Devices
Right Click the ADB device and update driver
Select Browse computer for driver
Click let me pick from a list of devices
Select the Samsung device driver
Remove and reconnect the hudl via usb. the hudl should then have a popup asking for you to accept connections via the pc. allow it and your hudl should then be available for debugging
I was debugging through Xamarin studio at the time
I'm running Windows 7, trying to connect my Android phone by USB so I can start developing in Eclipse. The phone is a Huawei Prism running Android version 2.3.6, and I've set it to USB debug mode. The phone's driver failed to install and I got the following error message:
Device driver software was not successfully installed
Android Adapter No driver found
I Googled around but couldn't find anything on this error. The Device Manager shows a yellow exclamation point.
I'm not sure if this is a device usage question or a development question. My goal is to get my phone to be available under Run As... in Eclipse.
Download and install Hi Suite. It's used for syncing Huawei devices, it'll have the driver you need.
http://www.huaweidevice.com/resource/mini/201105239635/hi_suite_en/
You must always install your specific phone USB Driver before being able to debug by USB.
So generally a " USB driver" search on Google does work.
I did it for you and found this page : http://www.huaweidevice.com/worldwide/downloadCenter.do?method=toDownloadFile&flay=software&softid=Mzk1MzA=
Is it the driver you tried ?
A more flexible way is to install the Adb Driver Installer: http://adbdriver.com/downloads/
Once you download it, enable USB debugging on your phone and plug it to your computer. Then, use the Adb Driver Installer to install the required driver. It works for any Android device! Hope this was helpful. :)
I recently found the right way to address this USB issue with Huawei.
Go to http://consumer.huawei.com/en/?method=toDownloadFile&flay=software&softid=Mzk1MzA=
Search: USB Driver
It will be the option HUAWEI Android Phones USB Driver
Make sure it is version v1[1].0 and file size 7.76 MB
Download zip, extract, proceed with usb download
Note: Make sure you debug and keep "stay awake" on before hooking up your device.
I want to run my Android project on a device.
My device is not detected in Eclipse when I connect it with a USB cable.
I restarted Eclipse and I have checked that USB debugging is on, on the device.
Can anybody tell me what the problem is and how to resolve it?
Before starting, Make sure that USB DEBUGGING IS ENABLED in your phone settings !!!
1) BASIC STEP - Plug in device via USB, then go to device page in Android developers blog. There you can find necessary information regarding adding USB vendor ids. Add your device specific ids, and restart eclipse if needed.
2)If you were able to see the device connected(using command: 'adb devices'
) earlier, but not anymore, then just try restarting ADB. (you can use the commands: 'adb kill-server' followed by 'adb start-server'. adb commands need to be executed from platform tools folder in the Android SDK, if you havent exported it).
3)If neither of them works out and you are on windows machine,
then check the installed usb drivers are correct. If not install proper drivers
Please find more information on how to install/update drivers in http://developer.android.com/tools/extras/oem-usb.html
If this also is not working, try installing Universal ADB windows driver https://plus.google.com/103583939320326217147/posts/BQ5iYJEaaEH
4)You may also try increasing the timeout time
Go to preferences-> android->DDMS in eclipse, then try increasing 'ADB connection timeout(ms)' value
Update based on newer answers:
5)Run > Run Configurations > Target. Please make sure, the option "Always prompt to pick device" is enabled.
Special case: Windows 8 and Nexus 10 (from this question: ADB No Devices Found)
Windows 8 wouldn't recognize my Nexus 10 device. Fixed by Setting the
transfer mode to Camera (PTP) through the settings dialogue on the
device.
Settings > Storage > Menu > USB Computer connection to "Camera (PTP)"
I solve this problem by updating PC portable device drivers:
Go to : Settings -> Applications -> Development to enable USB debugging
Plug in device USB
Desktop "My Computer" right click -> "Manager"
Choose "Device Manager"
Portable Device
right click on your device -> "Update Driver software" -> Search automatically (wait about 3-5min, )
Done
Restarting the adb server, Eclipse, and device did the trick for me.
C:\Android\android-sdk\platform-tools>adb kill-server
C:\Android\android-sdk\platform-tools>adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
I had the same problem as mentioned on this question.
I had similar problem, drivers was okey, but Eclipse did show me the device in Run > Run Configurations > Target tab. But I checked the option "Always prompt to pick device". And then running the application from Eclipse the prompt window finally showed my device.
After a long and frustrating search, finally I made my Micromax Funbook p362 to connect with eclipse and made it to suit for development.
*Installed Moborobo (All in one Android smart phone management tool).
*Perform stop -server / start -server using ADB.
*Reboot the device.
*Restart the eclipse.
*Device got detected.(Eclipse - list of adb devices)
In addition to the steps provided by #asfsafgsf (above), make sure to re-enable your phone's developer modes/functions. For my Motorola Atrix:
settings>applications>Unknown Sources: allow 3rd party apps
settings>applications>Development: to enable USB debugging, mock locations, and disable phone sleep
A note on developer modes
USB Debugging is the main mode you will need for running apps through eclipse when your phone is connected via usb (obviously). Disable phone sleep is also handy for self-explanatory reasons.
Allowing 3rd party app sources allows you to beta test your app on a larger-scale. With this, you can host your own apk and instruct your beta-testers to download it (prior to releasing it to the Google Play storefront). More specifically, 3rd party support allows the installation of android package files that don't contain a google approved signature (required for play store hosting). With 3rd party apps enabled, a handset will be able to run packages regardless of their source. You should also be able to receive an APK via bluetooth and install it in this mode.
You can also list all currently connected devices by running the following command:
adb devices
Go to http://developer.android.com/tools/extras/oem-usb.html#InstallingDriver and follow the steps on the android website but on browsing for the USB folder don't use the directory specified -> ((sdk)\extras\google\usb_driver). (sdk) just means your sdk location.
Your phone should have the correct driver and it can be accessed when you plug it in and go to the CD Driver in My Computer, in my case it's G:\drivers\adb_driver. Use this directory instead and it should work. (It may be differ with devices).
One possible reason is to check Android SDK Manager and install Google USB Driver in Extras folder if you have not installed it.
Following the steps here: http://developer.android.com/sdk/oem-usb.html#InstallingDriver allowed Eclipse to display the device.
Do following steps to detect your device in eclipse : -
On Mobile Side:- For Connect USB sync, your Android device needs to have USB Debugging enabled.
To enable Android USB Debugging Mode do following steps :-
Android 2.x - 3.x devices:
Go to Settings > Application > Development > USB Debugging.
Android 4.x devices:
Go to Settings > Developer Options > USB Debugging.
For devices running Android 4.2.2 or later, you may need to unlock Developer Options before it is available within the Menu:
Go to Android home screen.
Pull down the notification bar.
Tap "Settings"
Tap "About Device"
Tap on the "Build Number" button about 7 times.
Developer Mode should now be unlocked and available in Settings >
More > Developer Options or in Settings > Developer Options
On PC side
Connect your device to the PC with USB cable.
Download Google USB Driver
Extract/Unzip “latest_usb_driver_windows.zip” file on your computer
(using 7-zip free software, preferably)
Open device manager on your PC
Windows 7 & 8 users → search for
Device Manager from Start (or Start screen) and click to open.
Windows XP users → Google it
You will see list of all devices attached to your computer in the
device manager. Just find your device (it’ll most probably
be in the Other devices list with a yellow exclamation mark by the
name of ADB devices), then Right-click on it and select Update
Driver Software.
Select “Browse my computer for driver software” in the next window
Now click the “Browse…” button and select the “usb_driver” folder
that we extracted in Step 3 from “latest_usb_driver_windows.zip”
file.
Do NOT select the zip file, select the folder where the
contents of the zip file are extracted. And keep the Include
subfolders box checked
During the installation (as a security check) Windows may ask your
permission to install the drivers, click “Install”
Once the installation is complete you’ll see a refreshed list of
devices on the Device manager screen showing your phone’s driver
installed successfully.
Now in eclipse do following steps to install your app in your device:-
Go to Run > Run Configurations > Target tab.
Check option "Always prompt to pick device". And then running the
application from Eclipse,the prompt window finally showed
your device.
Please check whether your device is shown in the Eclipse device tab in Window > Open Perspective. If its not shown there then you need to install drivers for the the device. Once the device is visible in the Devices tab then change the launch settings for manual target. Once you launch your app then it will allow you to choose from the real device or the virtual devices
If you have the following problem
Then you can so following to fix it
Note : You should enable USB debugging on your android device(It will be in developer option in System settings)
I had this problem. With my galaxy S2. So came here for advice, but couldn't find anything specific. Then I found this 'Kies' software on the Samsung site, under the section for my exact model of phone, under downloads, after clicking software.
It installed the right USB drivers as part of the process of installing Kies and so my phone instantly then became visible on eclipse.
The Kies version for Galaxy S2 (GT I1900) = http://www.samsung.com/uk/support/model/GT-I9100LKAXEU-downloads#
There are other versions of Kies for other android models of course.
(new) device not showing, Check List:
Developer Option ON
USB debugging ON
Try changing to USB Storage/MTP/PTP
if it installs Window driver and fails, there's your problem (verify in Windows Device Manager) fix it.
ok this is an old thread -
but I spent nearly two days and did not get anywhere
Here is what solved my problem
I had USB debugging enabled ( finding developer options itself was a pain - I think the 7 times tap from google is childish and just plain stupid - rant over )
However HTC syn manager , eclipse ADT and windows computer management were all unable to identify my device
My problem was my phone was set to ONLY USB Charge - this was the problem
In 'USB Computer connection' >> Choose the option USB Storage
Once you do this - PC will install drivers and your device will get detected by Eclipse as well as in 'Computer Management' under ''Android USB devices '
Now I still dont know a way to access ''USB Computer connection' but at that time I did get the option to change and t worked
For those ( like me earlier ) who dont know how to identify if 'Computer Management' shows their device look for 'Android USB devices '
If its present - then your device is being detected by your PC
Hope this helps some others
shankar
On a kitkat Google Nexus 7, I tired everything here, and did not succeed. The device did previously connect properly to this computer.
Then I hit settings - developer-options - Revoke USB debugging authorisations
and confirmed that I really did want to revoke them.
I unplugged and plugged the USB. The tablet beeped and asked if wanted to authorise the computer for debugging. I said "Yes" and everything worked again.
For me the problem is with Defective USB Cable. I have tried those above all answers. Nothing gives me any fix. But finally i came to know the problem is because of my usb cable while changing the usb cable. While connecting through the usb cable the phone is charging but the drivers are not installed. Some usb cable don't have the option for that. So while buying check it and buy.
Best approach is install PDA net(software) on both system as well as in android device. This software automatically installs global driver for all phones, provides easy connectivity to android device.
Follow these links to download
For system
http://pdanet.co/
For android device
https://play.google.com/store/apps/details?id=com.pdanet&hl=en
Here is my checklist in windows (not the device itself) when my device is not shown:
Make sure "USB debugging is turned in setting>Developer options.
Check status bar on your device. It tells you if your phone is connected as Media Device (MTP) or Send images (PTP). My device is only listed when PTP is selected.
Turn of windows firewall.
Turn of any proxy programs ran on whole windows ports.
And finally stop adb.exe from windows task manager and wait some seconds to restart automatically.