Error:Unable to obtain debug bridge in android studio

前端 未结 8 855
生来不讨喜
生来不讨喜 2020-12-10 08:22

After updating Android Studio to 2.0 l am getting this error unable to obtain debug bridge and Android Device Monitor does

相关标签:
8条回答
  • 2020-12-10 08:45

    This is because you deleted the adb.exe (it might be your antivirus who deleted it),that resided in the platform tools in the android sdk folder.

    What you need to do is to delete the current platform-tools in the sdk manager program and re install it all over again.

    0 讨论(0)
  • 2020-12-10 08:50

    Go to: Android Studio Settings > Appearance & Behavior > System Settings > Android SDK:

    If path for SDK are text in red, change to your SDK folder and click ***APPLY***

    0 讨论(0)
  • 2020-12-10 08:54

    I am also running the same problem when update android studio from 1.4 to 1.5 stable version. When I run adb command from terminal then i found following error :

    bash: ./adb: cannot execute binary file: Exec format error

    After R&d I found that this error occurs due to unsupported architecture. In my case:

    I am using ubuntu14.04 LTS 32-bit. I observed that after updation, lib folder under platform-tools converted to lib64. I think above error occurs due to 32-bit architecture because after updation 32-bit support removed.

    For permanent solution upgrade you system to 64-bit architecture. Quick solution is to replace the updated platform-tools folder with old one that containing the lib folder instead of lib64.

    I think 32-bit architecture support for android development stopped by google for future releases. But I am not sure.

    0 讨论(0)
  • 2020-12-10 08:57

    Check whether you need to install "Android Sdk Platform Tools" in the Android SDK Manager.

    Somehow, after installing Android Studio from the bundle (for Linux) I lacked the "platform-tools" directory in "Android/Sdk", where the adb executable resides. Installing the platform tools helped. It was easier to find in the standalone sdk manager.

    0 讨论(0)
  • 2020-12-10 08:58

    I just open sdk manager and installed all android sdk tools and done.

    0 讨论(0)
  • 2020-12-10 08:58

    I installed the right sdk version that matched my virtual device android version

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