Android studio not showing connected devices - android

my android studio is not showing virtual devices upon running a project including my usb connected android phone and Genymotion virtual devices. I have tried Android studio versions 3.3 , 2.3 and 3.1 but still facing problem. i have installed genymotion plugin and all sdk tools but still its showing "No connected devices". Please help

It can either be an adb problem or a driver problem (for Samsung devices you have to install drivers).
You also have to set your devices in Developer mode and have USB debugging enabled on them.

You don't have the required drivers. Just search for the ADB drivers of your PC. If you have the Offline Drivers bundle just run it.

You can manually add genymotion devices to android studio using below command from terminal
adb connect 192.168.74.101:5555
Change the IP of your device as you've got in the genymotion device title
if successful, it returns:
connected to 192.168.74.101:5555

Related

flutter devices command does not recognise android device

I installed flutter for vscode and all the other dependencies without using Android Studio. I have a Xiaomi POCO F1 and I wanted to use it for debugging and running the app.
I switched to developer mode on my android device and enabled USB debugging, connected my device to the laptop via a USB cable downloaded the usb driver for the device and ran the flutter devices command but it shows that only chrome is connected.
I tried to update the driver for the device from the device manager but it does not get installed. Instead there is a MTP Device Driver pre installed and it doesn't allow any other driver to get installed.
I tried a lot of articles from Google and StackOverflow but none seems to work.
Could anyone please help me figure out what I'm missing out or doing wrong.
For more clarity on your issue result of command flutter doctor is required.
flutter doctor

Android Studio connection issue

Am having a problem in connecting my huawei Y7 2018 phone with android studio,each time i try connecting it via the usb option it still doesnt appear on my android studio even after allowing the usb debugging option on and the weird part of it, it connects to other phones.Kindly help to solve this problem.
check for ADB drivers are properly installed n are compatible with your device. Connect your phone to pc n open terminal n-type adb devices check whether your device shows up or not, if not you have to install your device compatible drivers(optional try universal ADB drivers or google ADB drivers).

Android Studio 3.5.2 can't find USB connected device (but found through adb terminal)

The title pretty much says it all: I'm working on an Android Studio (3.5.2) project on my Windows 7 64-bit running laptop, I connect my Samsung J7 (2016) to the laptop through the original Samsung cable but Android Studio simply can't see the device. If I try to do the same on my desktop computer (same Android Studio version but on a Windows 10 64-bit OS) everything works just fine.
Here comes the funny thing: the "adb devices" command shows the device (and I'm 100% sure it's my smartphone since it's the only device connected). The Android Studio toolbar keeps showing "No devices" anyway.
I've spent 3 hours on this and couldn't find a solution. I already tried every suggested solution around the web (stackoverflow.com included), but I achieved nothing:
Disabling/Enabling USB Debug function in the Developer Settings of my smartphone (including revoking USB debugging authorizations)
Running Android Studio as admin (sometimes it solves strange stuff...)
Trying to USB connect through PdaNet+
Android Studio built-in troubleshooting service (re-scanning for devices actually makes me see my smartphone but it's treating it as if it can't be used as a debugging device; anyway the smartphone-computer connection is just fine: I can browse my files and all. Killing and restarting the ADB server does nothing)
Tried connecting both as PTP and MTP
Tried both the Google USB Drivers and the Windows Update drivers (those the computer gets when you first connect the device)
Thanks in advance :)
if you use linux as your PC OS. may be try to install adb will help you..
apt-get install adb
that's work for me.

No usb devices or running emulators detected

I tried running my first Hello World app in android studio in my samsung phone, but I got this message even though the phone was connected through usb:
no usb devices or running emulators detected
note: usb debugging is enabled in my phone
How can I solve this problem?
Connecting your device for development. (Preferred and Fast developing option)
Open your phone's setting->developer options and turn on USB debugging. Then connect your device.
Download Google Usb Driver from SDK Manager. Install your device's required drivers on your computer. And connect.
Using emulator(slow process)
Create new android virtual device(AVD) and download required sdk versions.
Run your app on AVD.
Hope it helps!!
you can solve this problem by the following:
1-make sure the oem driver for samsung (SAMSUNG_USB_Driver_for_Mobile_Phones) is installed
2-if you have another usb port,try to disconnect your phone,and reconnect in another usb port
the second solution solved this problem well>>>>>
install the Samsung kies3 and it will work
This happened to me after upgrading Android. I am running a Google Pixel phone. When I did the upgrade, the USB Configuration setting on my phone, apparently, changed from MTP (Media Transfer Protocol) to Charging. I changed it back to MTP and it works now. I upgraded from Android 7.1.1 to 7.1.2.

Adb can't find my device

I was developing an android application from Eclipse, connecting my Acer ICONIATAB A 500, with Android 3.0.1. And I did not have any problem.
Now I'm trying to developing the same application on Acer ICONIATAB A 501, with Android 3.2
and my ADB can't find the new device, while Windows can find it! I set in my tablet Debug USB option active, and I installed the appropriate driver on Windows.
I installed even the last Google USB driver (Rev. 7)
I tried to list the device find form adb with command
adb devices
from command line, but List of devices attached is empty.
What can i do?
execute these line
adb kill-server
adb start-server
if it is mobile device check that in settings, developers options , debugging mode is checked or not
You need to install LGUnitedMobileDriver package from the LG website, even though Windows 7 automatically installed USB drivers for the phone.
Try to update your Android-SDK on your computer (in Eclipse or whatever IDE you are using), this helped me solve a similar Problem.

Categories

Resources