Member-only story
Simple Problem Causes Huge Impact in the New Android Studio for macOS
Yesterday night I updated my AndroidStudio from 3.5.x to 3.6.1. AndroidStudio 3.6.1 brought some new features like Visual Layout Editor, which I would like to try.
Everything seems working fine but I cannot deploy my app anymore, also a very simple app, to my Android Virtual Devices (AVD). I cannot see my Android app starts in my AVD. Gradle and the Android project are green but still my app did not show up. I could not see any problems until I see this red message:
Error while waiting for device: Unable to locate adb (Android Debug Bridge)
So, it was the time to search for an answer in Internet. I found some questions and answers:
- “Unable to locate adb” using Android Studio and Error: Unable to locate adb within SDK in Android Studio
- How to Solve Unable to Locate ADB in Android Studio
… and many other articles but none of them show me a way to correct this problem on macOS.
As all the articles said, the problem is actually quite simple:
The Platform Tools “platform-tools” with its “adb” were put in the wrong place, so Android Studio cannot find them.