Android Studio not communicating with emulator

匆匆过客 提交于 2020-05-28 04:35:05

问题


I'm on a mac and I updated Android Studio to the latest available version (3.6.1) and now it can't seem to connect to any emulator. I started a new Hello World project and tried building and running it. It opens the emulator but the app never runs. Logcat displays "no connected devices".

I re-installed SDK platform tools and made sure adb was running. Killed and restarted the adb service several times. Tried a different AVD. Tried uninstalling and reinstalling Android Studio. I even tried rolling back to Android Studio 3.5. Logcat continues to show "no connected devices" and emulator opens but does nothing.

Not getting any helpful error messages so I don't know what else to do?


回答1:


The last update has relocated adb and other tools from ~/Library/Android/sdk/platform-tools/ to ~/Library/Android/sdk/platform-tools/platform-tools/.

Move (or copy) files from .../platform-tools/platform-tools/ to .../platform-tools.



来源:https://stackoverflow.com/questions/60871480/android-studio-not-communicating-with-emulator

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!