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.
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 have tried EVERYTHING I could find on this but still no solution.
I have a Samsung s6 edge Plus 32 GB. I am trying to deploy an app on Android Studio but it always shows the device as offline. What I have tried
Unplugging and plugging back
Restarting device
Enabling debugging on device
Shuffled and tried different transfer protocols
Installing and Uninstalling Samsung drivers
Checking 'Enable ADB integration' under Tools -- Android
Checking android studio & driver updates
Any help will be greatly appreciated
This happens sometime, even when USB Debugging is on. Try this:
Go to Settings->Developer Options
Search for Revoke USB Debugging Devices
Revoke all existing devices
Disable USB Debugging and enable it
Now connect your phone to system with USB cable
Wait, and a dialog will appear on your phone, for permission to allow for USB Debugging. Click on checkbox and press Allow.
Now the device should appear online in Android Studio.
If problem still persists, then problem is with your phone drivers installed on system.
This happens to me regularly (I use multiple devices) and one of these two things always fixes it:
Make sure your device has "only charge" selected in the dropdown menu entry that appears when you connect your phone. Instead select "transfer files".
Disable and enable usb debugging.
Change your device cable or change your connection USB port on PC. I think this problem is hardware problem. Try other hardware problem possibilities.
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 using DELL tablet "Venue7 3740" to test my applications.Though I enabled the developer settings my device is not visible in android studio when I try to run my app and yes I also clicked "Debug model when USB is connected"
UPDATE
DELL "Venue7 and 8" has some small issues while connecting to use debugging mode.Get to this link to find solution on USB debugging.The answer was posted by lenrok258 and it works :)
DELL "Venue7 and 8" has some small issues while connecting to use debugging mode.Get to this link to find solution on USB debugging.The answer was posted by lenrok258 and it works :)
The steps to enable usb debugging are
Go to Settings and tap on the build number a couple of times to enable developer options.
Open developer options and enable usb debugging.
Plug in your device to your computer and accept this authorization popup.
Click OK and and you should be good to go.
Continue reading if your device still don't turn up on the available debugging devices.
Once your device is connected to computer, you would have a notification saying, connected as media device/mass storage device.
Tap on it and change the connection type.
You should have that authorization popup now. Accept that and Voila. :)
Note: If you're on windows, you should install your device manufacturer's adb drivers. (If you can't find them, go for universal adb drivers.)
Reference: Enabling usb debugging on android
Kingoroot for windows- simple solution to connect android mobiles with pc in USB debugging mode.
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.