Unable to connect to ADB - Connect ADB using CMD, Wireless App debug testing
I was also facing this issue in android Studio 3.4 version, but now I have fixed it , if you are using windows then follow these steps:
Download Platform tools from here https://dl.google.com/android/repository/platform-tools_r26.0.0-windows.zip
Extract downloaded zip file
Go To location "C:\Users\your_computer_user_name\AppData\Local\Android\Sdk" and Delete "Platform tools" folder
Copy and Paste, downloaded platform tool folder to above location
Now Go to your android studio and Rebuild your project Then run.
also check if you had open emulator from visual studio then emulator from android studio wont work here .
Divyesh Kevadiya
I am expert android app developer with carrying 7+ years of industrial experience. I have developed 100+ apps so far for various clients around the world. I am always looking for the new opportunities and new challenges.
Updated on July 13, 2022Comments
-
Divyesh Kevadiya almost 2 years
If you want to run android application without using USB wire. Then you can configure your device with android studio using CMD. Here are the steps to connect Android device to your android studio through same wifi.
open your CMD and...
D is the directory where your android sdk is stored.
D: cd D:\Android\SDKs\platform-tools
Open wifi network and check your IP then paste in CMD adb connect 192.168.1.101:5555
if device is not connecting and you have issue then run "adb tcpip 5555" this command
The final steps are D: cd D:\Android\SDKs\platform-tools adb connect 192.168.1.101:5555
adb tcpip 5555
-
Hi_its_me almost 5 yearsvery important for me was to create a new device instance after doing this. Was trying to solve this issue for hours but using a new VD was solving the issue