Android Device not recognized in Visual Studio/Android Studio - Android General

Hello guys,
i spent the last 3 days with my problem:
I want to use my Samsung A40 for debugging in Visual Studio but it doesnt show up. I plug in, install Samsung ADB Drivers and it shows me a working "Samsung Android Interface" in the Device Manager. I can also access the data through windows explorer without any problems. But when i use command "abd devices" i get an empty list.
What i did:
- enable USB Debugging
- Change Protocols
- Install ADB drivers
- Different cables
- Different USB Ports
- Deleted adbkeys
- Created adb_usb.ini with Vendor IDs
and so on...
I got it to work on my private computer and on another computer at work without any problems. But here it just doesnt want to pop up.

Related

[Q] Cannot list my phone on SDK

I installed sdk android-sdk_r07-windows.zip and also tried with android-sdk_r06-windows.zip.
When I do "adb devices" the list of connected devices is empty. My phone is a Huawei U8230.
The USB debugging mode is enabled. I can also see the files inside the phone in a Windows Disk Drive.
Any sugestion on how to get the device listed?
A bit stupid... But your phone is running android ?
You can try to search your phone drivers if there were somes, didn't it ?
Fixed it.
1. First Installed the SDK (all components including usb drivers).
2. Then Enable USB debug mode on the phone.
3. Then connect the phone.
4. Then a CD Drive is detected -> run setup from that drive.
5. Last restart adb.
Fiuuuuuuuu that costed a lot!!!!!!

Spice Mi-1010 : ADB configuration steps

I tried several posts from xda and other forums to configure adb for spice mi 1010 and I could never successfully list the device in the "adb devices". Even though it gets successfully detected by windows drivers, adb could never list this device.
In another post it was suggested to use PdaNet and choose "Other" devices option. This gives only "Android ADB Interface" and adb could never list the device. So did a search for rockchip 3066 device as spice mi 1010 is of that device type and tried the moborobo app for windows 7 and it simply works great. It automatically detects the device and gets the necessary drivers and registers. It gives you the necessary " Android Composite ADB Interface" and you can also see the "usb rockchip driver " under the disk drives in device manager post installation.
The below simple steps will make your life easier.
My environment
===========
- Bought this tablet in April 2013. Great device and I am very happy with the performance - great display, performance and battery. no complaints at all on anything.
- Windows 7 - 64 bit OS
- Downloaded Java Version 7 update 21
- Downloaded ADT bundle for windows 7 64 bit
- Downloaded Moborobo - All in one Management bundle
------------Follow this steps to get your device configure for ADB----------
In Tablet
- Settings -> Developer Options -> USB debugging - enabled
- Settings -> Developer Options -> Allow mock locations - enabled
- Using the USB cable connect the tablet with your PC.
- you can see the "USB Connected" and "USB debugging connected" notification in the tablet notification area.
- Nothing else needs to be done from tablet side. Just leave it and do the rest of activities in your PC.
In PC
- Download the above mentioned softwares - MoboRobo, Java SDK and ADT and keep them ready.
- With the tablet connected install the moborobo software in your PC. you will see some software installation warning from your PC and just accept them and allow the softwares to be installed. I got this warning twice and installed the moborobo installed the necessary drivers.
- Now go to your device manager and you should be able to see this below items.
- Device Manger -> machine Name -> Android Phone -> ADB Composite ADB Interface
- Device Manager -> machine Name -> Disk Drives -> Rockchip_usb USB device.
- If you can see the above things, then you are done and you can proceed with the next steps.
- Install JDK
- Install ADT bundle
- After installing the ADT bundle , navigate to platform_tools directory and issue the command " adb devices". you should
be able to see your device.
- If you are not able to see the device then under <user_home>/.android directory you may need to make an entry "0x2207" to the adb_usb.ini file. If the file isn't found also you can create this file and just add this line.
- You should be able to see "0123456789ABCDEF device" in the device list
that's it, you can do what ever you like to do next .
I hope all the spice mi 1010 users will find this useful. It is a great tablet and enjoy it.
Thanks
hey! Thanks for this useful info. Now i can see my spice mi 1010 in adb list.

[Q] ADB Installer Issue - USB Connection

Hello, another question in quick succession.
I have used the installer featured in this topic: http://forum.xda-developers.com/showthread.php?t=2588979 - to install all the necessary drivers so I can connect my phone through USB and hopefully install Android 5.1 onto my phone.
I went through every step in the topic and ADB Composite Device appear listed. My phone is also definitely connected as I check for 'adb devices' in command prompt. However, when connected in fastboot mode, it still asks to Connect to USB Device. USB Debugging has been enable on my device, also.
Help would be much appreciated! I'm new to this so it's a teensy bit of a rigmarole.
Could really do with help here, I'm stalling on it and it's bugging me - wanna get it sorted.

Install Adb Drivers For Any Android Phone On Your Pc! [JUST In 2Mins] [Very Easy]

Do You Like To Flash Custom Stuffs On Your Android phone? Or Are You A Developer? But You Can't Able To Do It Because You're Facing Some Problems with Your Adb & fastboot. All Of This Problems Are Only Because Of One Thing And That is Drivers.
And If you agree With Anyone Of This Situations Then You're At The Right Place Because Today I Am Going To Tell You That How You Can Install The Adb Drivers For Your Specific Android Phone On Your Pc.
Adb drivers are necessary if you want to flash a android device through Fastboot mode or if you're a android developer. Usually Our PC installs the adb drivers automatically for the specific android device but sometimes it can't so you have to install it manually.
This will also help you to solve adb errors like Device is offline, USB debugging Authorize pop-up not showing in android And etc adb errors. Make sure that your USB debugging option in developer mode is enabled on your Android device Because without this you can't use adb.
Steps:-
*So first go http://adbdriver.com to and download the "adb driver installer (Universal)". Then extract it.
*Now connect your Android phone to your PC using USB cable. Then Open the application.
*Now you will see something like Adb interface drive and with a red Cross at left side. Make sure to refresh if driver option is not shown.
*Now Just Click On install To install your device adb drivers. Then it will Install the adb drivers for your specific android phone in just under 2 minutes.
*Then Allow The USB debugging On your Android phone. Then the adb drivers will get successfully installed.
*If still adb can't recognize your device then try to connect your phone in PTP Mode instead of MTP or Charging only modes.
*If still it doesn't work for you then Revoke USB debugging Authorizations in developer mode. So that's how you can install the adb drivers for your Android Phone.
Video Tutorial - https://goo.gl/a6QgtH

Connect to Pixel 3 via adb

Hi,
I cannot connect to my Pixel 3 via adb any more. I last tried when I installed the system a year or so ago, and was able to. I am using a linux machine, and have tried the following:
- Two different computers
- Two different linux distros
- Many, many (new, high-quality) USB cables, both USB-C and USB-A/B
- Developer mode enabled
- USB debugging enabled, authorizations revoked and re-enabled
- Setting default USB configuration to File Transfer/USB tethering/MIDI/PTP/No data transfer
- Airplane mode
- Connecting over a USB-2.0 hub
- Booting the device to recovery mode, enabling adb
Regardless, I have the same outcome. The phone charges but no other recognition of being plugged in is made. That is, the computer cannot see the phone in 'adb devices', 'lsusb' or 'dmesg'. The phone doesn't see the computer either, in that it doesn't bring up the USB notification.
Any thoughts would be much appreciated. I am running lineageos 18.1, and the reason I wanted to connect via adb is to upgrade to 19.1.
Thanks in advance!
furrymonster said:
Hi,
I cannot connect to my Pixel 3 via adb any more. I last tried when I installed the system a year or so ago, and was able to. I am using a linux machine, and have tried the following:
- Two different computers
- Two different linux distros
- Many, many (new, high-quality) USB cables, both USB-C and USB-A/B
- Developer mode enabled
- USB debugging enabled, authorizations revoked and re-enabled
- Setting default USB configuration to File Transfer/USB tethering/MIDI/PTP/No data transfer
- Airplane mode
- Connecting over a USB-2.0 hub
- Booting the device to recovery mode, enabling adb
Regardless, I have the same outcome. The phone charges but no other recognition of being plugged in is made. That is, the computer cannot see the phone in 'adb devices', 'lsusb' or 'dmesg'. The phone doesn't see the computer either, in that it doesn't bring up the USB notification.
Any thoughts would be much appreciated. I am running lineageos 18.1, and the reason I wanted to connect via adb is to upgrade to 19.1.
Thanks in advance!
Click to expand...
Click to collapse
What version of platform-tools (adb) are you running?
I installed LineageOS 18.1 on my Pixel 3 back in April of this year.
I grabbed the latest platform-tools (33.0.1) for Linux at the time and I am able to connect, transfer files, etc. with no issues.
Below is the version I have installed on my Linux desktop . Hope this helps.
$adb --version
Android Debug Bridge version 1.0.41
Version 33.0.1-8253317
Installed as ~/bin/platform-tools-r33.0.1/adb

Categories

Resources