I was able to connect my device to the android studio but when I removed HDD and shifted to SSD to make it perform better it is not recognizing my device although it is working smoother than before.
It is showing that it is not able to recognize the driver software in ADB interface settings but whenever I click on my device it says driver software is completely updated.
here are the images linked below:-
enter image description here
whenever I click on realme7 device inside portable devices(in device manager) it shows that driver software is completely updated.
please help me for the same.
Try this link
Here they have mentioned phone model-wise drivers, download the one which is required.
Then go to Tools -> SDK Manager -> SDK Tools Tab and select the Google USB Driver & click OK
Check this for the same
Related
A few hours ago, my Android studio was working very fine. I could write, build and run on my test device (TECNO K7).
I decided to update my Android Studio to 3.5. The whole process went well except that I cannot find my device among the list of devices any longer. I have also tried with multiple devices, I got the same outcome. When I click on the run-button, the app runs on the Pixel 2 emulator. However, I want it to run on my device.
Here's a screenshot of what my menu looks like. Note that the device (TECNO K7) is currently connected:
Is there something I am doing wrong?
UPDATE:
I tried restarting my ADB server and I go the following error:
Unable to locate ADB.
I have also tried re-installing the following tools multiple times, still the same outcome:
Android SDK tools
Android SDK Build-Tools
Android SDK Platform-Tools
PS: For reference, I use Mac OS and it is also important to remember that my Android studio was working perfectly fine before the update.
Solution:
Drivers not installed: If the Android Physical device is not a Google/Nexus product than you have to download the OEM drivers of the particular model.
HAXM not installed properly : Hardware Accelerated Execution Manager must have not installed properly on your computer. Try reinstalling it directly from the options available in your SDK.
No proper Path : Sometimes though the files are available in the local system, The Android Studio is not guided with the accurate path name to reach the file.
Hope this will be useful to you.
After spending hours on this I found that the Studio update had un-assigned an SDK for my project.
Selecting File -> Project Structure, then selecting an SDK under 'Project SDK' immediately displayed the 'allow debug on this device' dialog on my phone, then within a few seconds after accepting it, the device showed up in the device list.
Go to:
File > Invalidate caches/Restart > Invalidate and Restart
That should work.
Before going to bellow steps make sure
Your "Google USB Driver" package is installed ("Tools" -> "SDK Manager" -> Check "Google USB Driver" -> "Apply" -> "Ok").
If you are trying to access with emulator then check "Intel x86 Emulator Accelarator(HAXM installer)" is instaled. ("Tools" -> "SDK Manager" -> Check "Intel x86 Emulator Accelarator(HAXM installer)"" -> "Apply" -> "Ok")
Go to Tools.
Then go to SDK Manager.
Open SDK tools.
Uncheck "Android SDK Platform-Tools" (On my case it was checked).
press apply then ok.
Again goto Tools.
Then goto SDK Manager.
Open SDK tools.
check "Android SDK Platform-Tools"
Restart Android Studio :)
Hope this will help somebody like me.
This option is definitely not the most optimal. I eventually deduced that the problem was with my HAXM and simply re-installing this would have solved the problem. If you face, this exact problem, simple re-install the HAXM in your SDK.
I hope this helps someone out there.
This question already has answers here:
Cannot see Nexus 6P for debugging
(5 answers)
Closed 4 years ago.
I am struggling to figure out the problem with my device not being recognized in Android Studio. However I do see it from file explorer and can browse the device files.
OS: Windows 10
Device: Nexus 6P
Yes, I did some research before posting this question, so I'll enumerate what I tried:
Enabled USB Debugging
Installed Google USB drivers from the SDK manager
Intalled HiSuite(apparently including some device drivers)
Switching between MTP/PTP
Restarting Android Studio several times
Restarting my computer several times
Every USB 2/3 ports of my computer
Tried updating drivers from device manager(however it did not suggest anything)
adb kill-server / start-server
Any suggestions would be greatly welcome!
Thanks in advance!
Apparently, installing 'Google USB Drivers' from the SDK Manager doesn't actually install them!
You have to go to:
'C:\Users\your_user\AppData\Local\Android\sdk\extras\google\usb_driver\'
right-click on 'android_winusb.inf' and install.
Try to use ADB over Network but it depends what Android version you have.
In Developer options you should see ADB over network section if not then sorry for this unhelpful advice.
check for SDK platforms in Android Studio whether you have installed the Android 6.x(N), Because Nexus got Android N updates, so it may be one of the issue you faced...
When I had this problem what I did was install the drivers manually. What you do is download the drivers from the google website NOT with Android Studio then you go into device manager and right click on your nexus. Then go to drivers tab and hit the update then manually find drivers on computer. Navigate to the downloaded drivers and click on them. Device manager will install your drivers and should fix the problem. Also for drivers you may want to try this or this driver Also please post these kinds of questions on the Android Stack Exchange Thanks!
If you have already tried all those steps , i would like you to install pdaNet software . This will automatically detect and repair the driver and you can find device in Android Studio.
This has worked for me
SO references :
Android studio doesn't list my phone under "Choose Device"
eclipse or android studio not recognize my phone on usb debugging mode
References for installing the drivers and enabling USB debugging is available here for reference , you could cross check with as well.
Reference 2 : Installing pdaNet
First of all I make sure that I've installed google's usb_driver. Either through the SDK or what SlashJ said:
Apparently, installing 'Google USB Drivers' from the SDK Manager doesn't actually install them!
You have to go to:
'C:\Users\your_user\AppData\Local\Android\sdk\extras\google\usb_driver\'
right-click on 'android_winusb.inf' and install.
- SlashJ
After that's done:
Insert your device into your PC
Open device management
Click start > run devmgmt.msc
Right click my PC > manage > devices in left panel
Check if there's a tab android device and look for your device or an ADB Interface, Otherwise just search for your device
Right click your device and Update Driver Software
Browse my computer for driver software
Let me pick from a list
Search for google or android in the left pane.
And select ADB Interface in the right.
Continue installation and it should work now.
You can try to unplug and re-plug your android device.
Maybe you also have to enable developer mode on the device.
Here's a walkthrough
I have a similar problem with my Wiko phone, I had installed the wrong usb driver and I could not do it manualy.
In developer mode, enable the usb debuging
Try to update your driver with apk installer for Windows 10 even if it is already installed:
APK DRIVER
This tool permits to install automaticaly the right driver.
Have a look to my previous question fo further details:
How can I run my ionic app on a physical device (Wiko phone) on Windows?
i just have that problem and anything works for me
what help me is to click a lot of time on the build number (setting-about phone-build number) and magic happens :)
Did you check in Android Studio Run tab->Edit Configurations->Target set to USB device.
if that doesn't work, try updating Android Studio, and/or device's firmware, also here is a similar question, involves a nexus and windows 10: https://stackoverflow.com/a/31938193/3817308
I hope this help.
I'm not sure how you installed adb driver. If your device is displayed in device manager but not as a ADB device, try these steps
Go to Control Panel and open Device Manager.
Find the device
Right click the device and select properties.
Select Driver tab, then click the Update Driver button.
Choose Browse my computer for driver software.
Let me pick from a list of device drivers on my computer
Browse for the .inf driver file. Open and Next.
Select ADB interface from device list (i can't remember the exact name)
Install
There's another another Stack post (Cannot see Nexus 6P for debugging) you might want to try.
You need to manually download the driver here (http://developer.android.com/sdk/win-usb.html)
Go to "Devices and Printers", right-click on "MTP", and choose properties.
Click "ADB interface", then click "Properties"
Go to "Driver" tab and update driver with the file you just downloaded. (Make sure you unzip them first)
I want to develop for Google Glass with Android Studio. I'm really new to it. When I connect Google Glass to my computer over USB, Android Studio does not recognize it ("no connected devices").
Android Studio recognizes when I'm connecting my mobile over USB, and my computer recognizes the glasses, but Android Studio cannot find the connection to the glasses. I of course enabled debugging on the glasses, and it's connected to my mobile. What am I doing wrong?
I had the same issue. I posted about it earlier this year on the Glass Explorers forum to ask for some help. I got a couple of responses, tried them, and this is what worked for me, posted by Kevin
"Are you running Windows? If so open the device manager and see what Glass is listed as, if it has an exclimation point right click and update driver software choose to search your computer for the driver and point it too the sdk>extras > google_usb folder (assuming you have updated the drivers in the sdk manager recently.
After this is done reboot the pc plug your Glass in let it install the drivers and if it is working properly you may get a prompt on Glass to trust this computer for debugging.. If this didnt work.
Go back to the device manager, glass should now be listed as an android adb device. Now click on this and choose to update driver software, then instead of pointing the the google_usb folder, click on the part below that "let me pick from a list of device drivers on my pc.." When you do this choose composite usb device and then it should recognize the Glass in adb. "
I hope this helps.
EDIT:
Another thing to try:
You need to make sure that you have the right drivers. The issue for me was that I needed to open the SDK manager and download the USB Drivers - go try that.
first I create Motorola moto X vitual device tageting API 4.2.2 in android. this device was created successfully in geny motion. I then run this virtual device to see if it is operating correctly. Once started I keep getting this error message regardless of what i do
"Genymotion version and virtual device version do not match
Genmotion 2.2.2
Virtual Device 1.0.0
you should update you virtual device or create a new one to enjoy the new features"???
I dont have a clue how to update the virtual device? moreover I wasn't given the option to set the device when creating the device. just to choose target version of android. Can anybody guide me through how to do this? Also the UPDATE button cant be selected so i have to just select continue.
After this I change settings/ADB on the virtual device to point to the android sdk located at "C:/Program Files (x86)/Android/android-studio/sdk".
then I app the genymotion plugin to the list of plugins in settings. and following this I add the path location of the genymotion folder also in settings under IDE settings/ Genymotion and the path being "C:\Program Files\Genymobile\Genymotion"
When I open AVD manager the genymotion emulator is not visible so I cant select it to run my applications. I have tried setting "show chooser Dialog" in Run/debug configuration and also setting the correct sdk for the virtual device like I said earlier. If anyone can help me out with this I would be grateful otherwise It looks like i will have to use the standard emulator which is SH*t :) .hopefully this question can help someone in the future also. thanks in advance!
It seems your virtual device is very old.
If you use the free license you need to remove this old device and create a new one thanks to the "add" button on the Genymotion program.
Then launch the newly created virtual device, you should not see the Genymotion version and virtual device version do not match popup any more.
If it still chows up, send a report to the Genymotion support.
Concerning the AVD manager problem. Genymotion devices are not supposed to be added to this interface. To launch a Genymotion virtual device you can whether:
Open the Eclipse Genymotion plugin you already installed and configure (the small pink genymotion icon on the tool bar)
Or open the Genymotion program that will show you all the devices you already created. And where you can create new virtual devices.
When a device is launched, you can then debug on it easily, it is considered as any device connected to ADB like a physical device you plug on your computer.
One of the craziest tricks I've seen work (I know it sounds crazy but try it) is to stretch the columns in the device column when you go to run and it shows you no devices, device magically appears in list.
I recently bought a Lumia 820. I connected it to windows 7 and worked perfectly, phone was accessible from the file explorer. but when I connect it to windows 8, Lumia 820 is showing in other section in the device manager, not showing in the file explorer. Strange thing is even without seeing the device in my machine I can test the application build through Visual studio by running it on windows phone 8 device. I installed windows phone app to the windows 8, it\s not running, not even giving me an error?
Help me please
if still this problem persists .. try installing windows media feature pack.. it will work like charm..!!
You'll need the most recent Media Pack - search it directly at Microsoft:
https://www.microsoft.com/en-us/search/result.aspx?q=media+feature+pack+for+windows10&form=dlc
Sounds like a driver issue.
Try to reinstall your driver using the following steps:
a.Connect your Windows Phone to your computer by using the USB cable
that was included with your phone.
b.Windows 8 users: In the Start
screen, type "Device Manager," tap or click Settings, and then tap or
click Device Manager. Windows 7, Vista, and XP users: Click Start,
right-click Computer, and then click Properties.
c.A window will
appear with the name of your computer and a list of files. (If you
don't see the files, click the name of your computer.) The name of
your Windows Phone 8 should be listed under Portable Devices. If
Windows Phone was incorrectly installed, it may be listed with a
yellow exclamation mark. Or, it may be listed under Other Devices as a
USB device or an unknown device.
d.Double-tap or double-click Windows
Phone (under Portable Devices) or the unknown device to open the
Properties window.
e.On the Driver tab, tap or click Uninstall.
f.In
the pop-up box "Confirm Device Uninstall," select "Delete the driver
software for this device" and then tap or click OK.
g.Return to the
Device Manager window. Tap or click the Action menu, and then tap or
click Scan for hardware changes.
h.Open Portable Devices, double-tap
or double-click the name of your Windows Phone, and then click the
Driver tab. Note If you don't see your phone's name, tap or click the
unknown device that is listed under Other Devices, and then tap or
click the Driver tab.
i.Tap or click Update Driver.
j.Tap or click
Browse my computer for driver software.
k.Tap or click Browse, locate
the C:\Windows\Inf\ folder on your computer, and then click OK.
l.Click Next and if you're prompted, click Install. You may only be
given a Close option.
m.After the driver installation is complete,
close the open windows until you exit the Device Manager. Restart your
computer if you're prompted.
From http://support.microsoft.com/kb/2749484
Maybe It is a driver issue. Try installing driver by using these steps
open device manager
under portable devices look for your device
Right click on your device and click update driver software
Browse my computer for driver software -> let me pick from a list -> Standard MTP Device
After that install MTP Device
This worked for me.