I want to debug my Android app with my tablet(Samsung). I enabled usb debugging in Developer Options. When I connect my tablet to my PC, I click 'Allow' for enabling access to the device. But the device doesn't show on Android Studio. I click 'Troubleshoot Device Connections' and it says 'Device is waiting for you to grant permission.' under 'Found 1 device with possible problems. Also, under that there are 12 devices under 'Found 12 devices not recognized as Android devices' and my device also is shown there.
I tried to install Samsung Usb Driver via Device Manager and it says MTP drive is already installed. May this MTP drives be problem when connecting device to Android Studio? If so, how can I delete this MTP driver and install Samsung USB driver?
Try to check if the settings install via usb is enabled too.
Related
This question already has answers here:
Android Studio doesn't see device [closed]
(73 answers)
Closed 5 years ago.
I'm trying run android apk in Huawei tablet. In Android studio shows the connected device as none. In Hisuite also displays as Device not connected. But the device appears in device manager and I can access the data inside device through PC. adb not recognize.
Device - HUAWEI Mediapad T3 10(Android 7.0)
PC OS- Windows 7
Android Studio 2.3.3
HiSuite 5.0.1.300_OVE
Enable Developer Options. In Developer Options enable USB Debugging.
Make Sure that Google USB Driver and ADB is installed
Change USB Mode to MTP
After Connecting to Allow Computer Enable USB Debugging on this Computer dialog will appear. Allow it .
After that Notification Window will show USB Debbuging is Enabled whenever you connect via USB on to the System. If it is not Shown Download the Phones Driver for the System. Because the System may Be Lacking the Corresponding device Driver.
If Debbuging Privellage is Revoked Then Go to Developer Options. Use Revoke all USB Permssions on Computer.
Also refer Android Studio doesn't see device
My device Xiaomi Redmi MI A1 is running stock android, don't mistake it to be running MIUI.
Things I did :
(1) Enabled developer options and enabled USB debugging.
(2) Connected to my PC and downloaded Google's USB drivers for Android Studio as well as OEM USB drivers from Xiaomi.
(3) Installed it and also updated the device drivers from device manager by manually selecting the OEM USB driver file (it was showing no updates available afterwards), but Android Studio was still not recognizing my device.
(4) I also downloaded MI PC suite from their website but now it wasn't recognizing my device, I connected my device in PTP with USB debugging enabled.
I am using Windows 10 ( Version 1703; build 15063.632 )
My device config is AMD A6 processor at 1.8 GHz quadcore with 4GB RAM.
try to do this things...
1) change your USB mode to file transfer .
2) enable to install from Unknown sources ....
go to settings->additional settings/Privacy/Unknown Sources
3) also enable install via USB in developer options
4) restart Android Studio.
Try changing the "Select USB Configuration" option to MTP.
It worked for me after installing the Mi PC Suite from here: pcsuite.mi.com
Try changing the USB mode to PTP or any other, in some systems PTP is only recognised in Android studio.
open file explorer
right click on my computer
press on Manage
open the device manager
you can see unknown USB connected
right click and press on update driver
press on browse my computer
press on let me pick
press on USB composite and Next
that it!! you will get a popup that your device is recognized now,
you can see it in the device manager now, your USB is recognized now.
Good luck!
After upgrading to marshmallow 6.0.1 . When I go to run the application, my device no longer show in android studio chooser option. In my phone Developer option is enable and USB configuration is set to MTP. When i connect my phone to PC via usb cable it doesn't show on the PC as well as my phone also doesn't show notification to change usb configuration charging to mtp or etc. But after connecting my to PC via cable it starts charging. I have Samsung J7 16. Also i attached a different phone OPPO it shows same as my phone.
Try to install the driver of your device on your computer. You can find it on the Internet. Some phones need drivers installed on computer.
Follow this and install driver match with your device from here
Maybe ADB has problem. Try to run in the console (AndroidStudio or your system), with the phone connected:
adb usb
Now ADB should restart in usb mode. Then check on the smartphone, on top notification, if it is connected as usb storage or just in charging mode.
If this doesn't work, try to clean the fingerprint between the pc and the phone, on smartphone>general>developer options> revoke authorization debug USB (or somehing similar). Try to sconnect/connect the phone again, a popup should ask you if you want to enable the pc for developing
I have tried
Installing driver
The USB debugging enabled in Developer Options
Switched from MTP to PTP device selection
Check if adb devices command shows the devices
Edit Run Configurations.
But my physical device Lenovo K5a040 is still not shown.
The problem is because of not properly installed Android Debug Bridge (ADB) USB Driver on your system.
You can Check whether it is properly installed.
Connect your Device and enable the USB debugging in device.
Right click on My Computer and open the Manage.
Go to other Devices and check whether your device is showing warning icon.(if it shows warning it is clearly says, ADB is not properly installed)
Reinstall the Android Debug Bridge (ADB) USB Driver.
Please check this link it will be helpful.
https://software.intel.com/en-us/xdk/docs/installing-android-debug-bridge-adb-usb-driver-on-windows
Hope it will help. :-)
Android studio doesn't show my device to debug apps. Everything is installed and working properly except android studio. Adb driver is installed and i tried apkinstaller software, it show my device.
My device api level is 15 and api installed in android studio is 21. Any one have idea may be due to change of api level android studio is not showing my device or something else.
i already tried these posts which was posted on stackover
Click here
Am i missing something?
This can be caused by many reasons, some of them:
Check if Google USB drivers is installed
Check if developers options is enabled
Check if USB debugging is enabled
Check USB Connection in Device Settings (play with Media
Device[MTP] and Camera[PTP])
Plug off/on usb cable
Restart adb: kill
[from console: kill-all adb
from windows: kill it from TaskManager] and start it again
Download Samsung Kies Software from here (it will download some
drivers too, while installing this software plug off your device and
after it finishes plug in and try it)
Some more
here
7 clicks over "compiller number" in "about the phone" in your smartphone, it enable developer options, after that enable usb debugging option and allow that Android Studio detect the phone
Download and Install Moborobo for all android Smart phone USB drivers.Then open moborobo and plug the android device.If your device driver not there it will get install automatically by Moborobo.Then restart your IDE to detect the device.
#hrskrs also value answer only ,but some times lower level devices would give this kind of issues.
I had the same problem with my Xperia L1, It works with the ADB Driver Installer:
Unzip and execute ADBDriverInstaller.
Connect your phone with USB depuration enabled, click "Refresh" in ADB Driver Installer.
If your phone is not in list, the default driver (or another) is installed, click on "Device Manager" search your phone, right click, uninstall current driver. disconnect and connect your phone and click "Refresh" in in ADB Driver Installer.
Select your phone in list and click "Install".