For this, open Windows security, then open Current threats and allow adb.exe on device (As shown below). Allowing adb.exe on the the system resolves this problem. Windows security might have quarantined adb.exe. On your workstation's terminal, run adb pair ipaddr:port. Take note of the IP address, port number, and pairing code displayed on the device. Find your IP address, port number, and pairing code by selecting Pair device with pairing code. Then go back to Terminal and run the following command: sdkmanager "platform-tools" Method 3: Check your anti-virus On your workstation, open a terminal window and navigate to androidsdk/platform-tools. For this, open Terminal, switch to C:\Users\Username\AppData\Local\Android\Sdk\tools\bin\sdkmanager and run the following command: sdkmanager -uninstall "platform-tools" Reinstalling the platform-tools resolves the problem. For this, open Terminal, switch to C:\Users\Username\AppData\Local\Android\Sdk\tools\bin\sdkmanager and run the following command: sdkmanager "platform-tools" Case 2: If adb is present Installing the platform-tools resolves the problem. If Android Studio IDE is installed, follow Method 1 instead. Method 2: Using sdkmanager command-line tool Then go back to Android Studio and in the SDK Tools, check-mark ✅ Android-SDK Platform-Tools and apply the changes. After this, open C:\Users\Username\AppData\Local\Android\Sdk and delete the platform-tools folder.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |