Could not automatically detect an ADB binary - Android Studio

后端 未结 4 1658
花落未央
花落未央 2020-12-11 01:30

I tried testing my app on Android Studio but I was getting stuck at

\"waiting for AVD to come online...\"  

I\'ve read r

相关标签:
4条回答
  • 2020-12-11 02:02

    Go and check your sdk/platform-tools, is adb there? If not Open SDK manager and download Android platform tools, contains adb.

    After that try once again, for me this works

    0 讨论(0)
  • 2020-12-11 02:07

    From my experience this is because the AVD can't detect your ADB binary. When you launch the AVD if you go into settings, it's the '...' symbol on the toolbar of the virtual machine, then go to the 'Settings' section there should be an option called 'Use detected ADB location' switch this off then select the location of your adb binary. In Linux you can do this by typing the command:

    which adb
    

    Select the location shown in the settings. Once you've done that the error should stop appearing.

    0 讨论(0)
  • 2020-12-11 02:07

    go to ..\AppData\Local\Android\Sdk\platform-tools and reinstall your ADB, i guess this happens on ADB 32 in an system 64bits

    0 讨论(0)
  • 2020-12-11 02:15

    This error because android studio did not find adb.exe in SDK\platform-tools folder. Maybe this is caused by sdkmanager while trying to update current packages.

    Any way, the easiest way to fix this error is by downloading SDK Platform Tools as zip file from https://developer.android.com/studio/releases/platform-tools.html , unzip it and replace the current platform-tools folder in SDK folder.

    0 讨论(0)
提交回复
热议问题