I have made a simple Android Application and have chosen to debug it on my android mobile. On connecting it with the PC and enabling USB debugging on mobile, the Android Device Chooser is not showing the mobile.
you need to install the phone driver
example:
samsung need kies http://www.samsung.com/us/kies/
for nexus device just use google usb driver http://developer.android.com/sdk/win-usb.html
On my nexus5 I need to turn on Camera (PTP) storage mode as well as Debugging before the device appears in DDMS.
Settings -> Storage -> Options (top right) -> USB computer connection then select Camera (PTP).
Use adb driver. From my experience, this small - free software works for all vendors and devices.
Related
I am getting started with Android development. I have an older Samsung Galaxy S2. But Android Studio doesn't recognize the device. I've tried going to the USB utilities but I can't seem to find them. Is my device too old?
You will have to enable the "USB debugging" option in your phone:you will get this after enable the "developer mode" on your phone(aka "developer options" on some devices).
Check this guide to enable this mode.
In addition - if you want to test your apps on a real device you will need to have a data USB cable(if you can upload stuff from your phone to your computer than you have the correct type of cable )
In some devices after enabling developer mode and connecting a cable you should scroll from the top side of the screen (Like in the photo) and click on USB for file transfer, and select Transfer files.
In addition to enable the Developer mode, if yet doesn't work, take a look at this page https://developer.android.com/studio/run/oem-usb, maybe with this driver you will have your problem solved: http://www.samsung.com/us/support/downloads
You can also check at your adb to make sure your device is connected:
cd cd c:\Users\Linda\AppData\Local\Android\sdk\platform-tools\
run: adb devices
It must shows your device's ID.
Hope it helps.
I was not using the correct cable. I assumed since the phone was charging I was using the correct usb cable to connect to my pc. Found a different cable, I believe the same cable that came with the phone. Now my device is found and working.
I've got an issue while trying to run an app on android studio. The list of connected device will always remain empty. Thus I can't deploy my app on the phone. The OS is Windows 10.
I already take these steps:
installed driver from Samsung. The device is shown in device manager and I've got access from windows to it
Swapping USB Ports a dozen times
Developer Setting on
Switched Media Port both Camera (Ptp) and Media Device (MTP)
Does anyone has further tips?
Look if USB debugging is enable in the developer options of your smartphone.
I am trying to run and debug android project using hardware device. I have Huawei P8 Lite and whenever i enable developer mode and usb debugging from my phone, it shows the message that usb device not recognized. It happens just when i enable usb mood on developer options, otherwise its working fine if i want to transfer files between computer and phone.
I followed all these articles
http://developer.android.com/tools/device.html
http://developer.android.com/tools/extras/oem-usb.html
and also tried to update the driver software but computer shows that driver is updated.
IN device manager, under options universal serial bus controller, the usb port have yellow notification mark on it with the label that unknown device.
Please help. Emulator is killing me. Its very slow even after installing HAXM.
Hi those instructions are for the google usb driver. To install the huawei adb driver and lte software, on your device (settings):
Enable Developer Mode.
Enable USB Debugging.
Connect your device via a usb cable.
You have to go to Computer -> double click on HiSuite
Accept terms and click install. This should take about 30 seconds, after which you click start.
Automatically, all drivers are installed as below.
The instructions are available on http://consumer.huawei.com/en/support/faqs/detail/index.htm?id=6630
My breakdown according to my device (and country) and the link above are slightly different but the logic is the same. All the best!
I am trying to debug my app on the Nexus Player hardware. I enabled the developer mode, turned USB Debugging on, and connected the cable. However, I don't see any message like the one below as stated here:
https://developers.google.com/cast/docs/android_tv#adb-usb
In the Allow USB debugging? dialog, select Always allow from this computer, and select OK.
What steps might be missing? Could it be a problem with the USB driver?
I just installed the Google USB Driver in Device Manager (Computer Management), and it worked. (The Google USB Driver is located in \extras\google\usb_driver.)
I had this problem too. I fixed it by simply using a USB cable that supports data transfers. The cable that comes along with the Nexus Player is a 'charging' cable type.
i want to use my mobile as an emulator but when i connect my mobile to pc and start the debugging usb and run the app it shows me output no emulator found and when I search the emultr my mobile is not showing in the list
im using android 4.2.2
Enable the USB debugging
Enable USB Tethering
You must have appropriate drivers installed on your System
Step by step how to enable usb debugging on your device:
Firstly, you shoudl enable Developer Options on your mobile phone. How to do that is changes with respect to your phone's model. Check this example link
Then, you should enable Usb Debugging on your device. Check this example link
Last step is downloading google_usb_driver for android as your devices driver from this link
Finally, you are able to use your device as emulator.
Good luck.
connect your mobile to pc.Enable the usb debugging tool in your mobile and install Adb Driver Installer (9.0 MB)
http://adbdriver.com/downloads/