I don't see my device in Android Studio devices - android-studio

I read a lot for my problem, but still didn't find solution. I have Huawei P9 Lite. I install Google Usb Driver, but I don't see my device. Please help.

When you connect your phone to your PC and press RUN app in AS, a window will pop-up and it will say no devices connected. Go to settings in your phone, enable developer options, and enable usb-debugging, and then your phone will be displayed in that window.

Related

How do I deploy apps to an Android phone using Android Studio on a Chromebook?

I'm using Android Studio on a Dell Chromebook. I've confirmed that the adb daemon is running, but when I plug in my Android phone (Samsung Galaxy S10e) it is not recognized by adb. Instead, I get a Chrome OS notification saying "USB device detected" and giving me the option to "Connect to Linux" but when I click that button nothing happens. On my phone I get a dialog saying "Allow access to your data" but when I click allow it just opens a file browser on the Chromebook.
When I plug this same phone into my Windows laptop and iMac, I get a different dialog on my phone saying "Allow USB debugging" and then I am able to run apps from Android Studio on the device. So it seems like the problem is with my Chromebook, but I can't find any documentation for my problem. According to this page there should be no additional configuration required on Chrome OS:
https://developer.android.com/studio/run/device?utm_source=android-studio#resolve-usb-issues
Has anyone else experienced this problem? Is anyone able to connect to their Android phone from their Chromebook?
Go to your device's setting, the about this phone, software information then click 7 times, VERY FAST, on the build model. It will create a new folder named "Developer options" on the bottom of the page. Go there and click depuration through USB.
This should work.
Try this link for more information https://android.gadgethacks.com/how-to/activate-developer-options-your-galaxy-s10-0194524/

How can i run my android application on nexus 5 mobile phone

Android Studio 2.1.2,
Android 6.0 API Level 23,
Mobile Google Nexus 5,
I am trying to debug my application on my mobile phone instead on the emulator. Adb didn't show my nexus 5 in the connected device. Adb says USB device not found.
Although windows explorer shows device is connected.And I have also enabled USB debugging and developer option mode on the nexus 5 mobile.
How can i run my android application on nexus 5 mobile phone.
Please help
You will need to begin by going to the SDK Manager. Since we have been using Android Studio so far it is just as easy to navigate to it through the IDE by going to Tools->Android->SDK Manager.
Search for “Google USB Driver”
Then make sure you place a checkmark in “Google USB Driver” and hit the install packages button.
For 32 bit user go to:
C:\Program Files (x86)\Android\android-studio\sdk\extras\google\usb_driver”
And for 64 bit user go to:
C:\Program Files\Android\android-studio\sdk\extras\google\usb_driver”
Click on android_'winusb.inf' and install it.
After the installation go to your device.
In setting tap on “Developer options” and place a checkmark in “Stay Awake” and “USB Debugging”.
Now connect your device to your USB port on your computer.
Place a checkmark in the “Always allow from this computer” and hit “OK”. You are now free to open Android Studio and run your app on your local device!
u can download this driver via this link http://adbdriver.com/upload/adbdriver.zip
and Enable Developer Options
and Enable "USB Debugging"
Download ADB Driver Installer from http://adbdriver.com/downloads/ and open it.
Connect your device to your USB port on your computer.
When your device appears in the ADB Driver Installer, select it and hit install button.
Now you have successfully installed the driver and your mobile will be connected.

How can I connect my Sony Xperia C4 E5333 to Android Studio?

I want to connect my Sony Xperia C4 E5333 to Android Studio for debugging my app, but Android Studio does not show my phone in ADB window.
I tried to install the USB driver for my phone but I can not find an USB driver for the E5333 model. In ADB, I have the Google USB driver installed. I installed Sony PC Companion 2.1, but when it tried updating, I got an error.
How can I connect my phone to Android Studio?
You need to install Sony driver for your phone, not Google USB Driver.
This one should do it: http://developer.sonymobile.com/downloads/drivers/xperia-c4-driver/
Also, you need to get to developer options and enable USB debugging. After that you are good to go.
Get the latest Google Usb Driver from SDK MANAGER > EXTRA
Open Device manager.
in Other Devices find your phone with a ? mark beside it
Right click on it and choose Update Driver. You would see this screen,
Choose Browse My Computer For Driver Software. You would see this screen,
Choose Let me pick from a list of device drivers from my computer. You would see this screen,
Choose Android Device and click Next. You would see this screen,
Choose Android Adb Interface and then click on Have Disk. You would see this screen,
Browse to where you installed your Sdk, SDK_PATH > extras > google > usb_driver
Click ok then next and your device installed !
if you still don't see your device type these commands in your cmd
adb kill-server
adb start-server

Android Studio does not detect my Moto G

I've connected my phone in the Camera mode, I have installed the latest motorola drivers from https://motorola-global-portal.custhelp.com/app/answers/detail/a_id/88481/action/auth. And I've also installed the avd from
http://forum.xda-developers.com/showthread.php?t=2588979
My device is just not showing up in the available devices when I try testing my app. Please help.
Enable USB debugging on the device (Developer options).
I've followed this link https://www.youtube.com/watch?v=Qb2olFyoMV4 and it worked well with my Moto G 2nd Generation.
When I try to see the logs from my device on Android Monitor, I had to unlock my device and there was a message asking if it was ok to debug from this computer.
Allow USB Debug message
Hope it works for you too.

Google Glass does not appear on Android Studio devices

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.

Resources