How to Connect Old Versions of Android Device to Android Studio (Bumblebee) - android-studio

The Android Studio version of Bumblebee seems only to support the Android 11+ versions to connect devices through Wi-Fi wirelessly and pare devices through paring code.
But I currently only have a Samsung Galaxy Note4, which is the version of Android 6.0.1.
How can I connect to Android Studio and run Android Apps on my Note4? Please provide some learning resources or support, thanks a lot !!

On the top right corner of Android Studio, you see this toggle list, and click on "Troubleshoot Device Connections".
Find "Troubleshoot Device Connection" on the top right corner toggle list
After that, follow the given steps to "Rescan Devices", and "Enable USB Debugging". Then you'll see your device appears in the toggle list. If not, press "Restart ADB(Android Debug Bridge) server" to find your device.
Steps provided by Troubleshoot Device Connection
Finally, press Finish to complete the task.
All in all, when I tried to find out how can I connect my old old version of the Android device to the AS, I got nothing on the internet. So I asked this question here, but eventually, I fix it on my own.
So I hope this question helps.

Related

android studio is not able to recognize my device

I am using Flutter for developing my android apps but for some my android studio is not able to recognize my device even though my device is detecting that fully. Is there a way to fix this?
And also for the record, I have tried all the possible methods available on stack overflow and internet like Enabling USB debugging, MTP Transfer, Installing universal USB Driver.
Some phones like OPPO, VIVO, etc is having an extra drivers. It will be shown when you connect your phone with pc. You have to install that driver too. Also check whether this phone is working with another computer or any other phones works in your computer too(to check both your phone and PC is ok). Also check in normal android app development instead of flutter, like checking your phone connection in android studio with java or kotlin.
if all this didn't works then install Visual Studio Code and check the same thing it it. may be this is some issues in Android studio. please inform the details here after all this.
Go to file> Invalidate cache/Restart > click invalid cache and restart button in android studio.
Then run.
If still cannot connect device:
goto file>settings> appearance & behaviour > Android SDK > sdk tools >deselect android sdk platform tools > apply>ok.
It installed the requested components.
then goto app > edit configuration> uncheck allow parallel run in right corner>ok

USB debugging problem in Android Studio 3.2.1

I am working with Android studio 3.2.1 windows o/s. My android studio didn't detect any phone(I tried with huwawei y6 and samsung grand prime).But there was message that USB connected.
But can't get the usb debugging request message in my phone and can't detect my phone. I tried with abd drivers also but no solution.screenshot after click run
do you checked the USB debugging checkbox ?
if not :
go to settings on the phone then to About device then tap on Build Number many times after that go back to settings you should find Developer options appeared tap on it then check USB debugging checkbox.
try this if not working tell me there is another things you can do

Android Studio doesnt recognize my device - Nexus 6P [duplicate]

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)

Android Studio No devices connected

Running windows 7 and I have just downloaded the latest android studio version and started a project and now I'd like to test the application on my device but Android Studio says on the bottom left "No devices connected". I've tried a couple of things such as:
updating my Samsung S6 edge drivers through device manager, which were updated now.
have debugging mode turned on and USB debugging mode on.
ran 'adb devices' command to list devices but none show up.
downloaded new universal adb drivers.
toggled between MTP and PTP modes.
restarted computer/phone/android studio/ adb tens of times.
deleted phones drivers from device manager and installed again.
re-installed android studio.
probably some other small things too that I can't remember right now.
I'm at a loss as of right now, if someone can help me out I would really appreciate it!

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