When I'm trying to run the app, it says: Unable to locate adb
java.lang.IllegalArgumentException: Unable to locate adb
I've read a lot of posts regarding the missing adb.exe
file and the adb.exe simply does not exist in the path .../platform-tools/adb.exe
how can I get it/fix it?
The adb.exe file will be located at your Android SDK folder, inside platform-tools
...\android-sdk-path\platform-tools\adb.exe
The default location where Android SDK is installed is:
C:\Users\<insert username here>\AppData\Local\Android\sdk\
So adb will be located at:
C:\Users\<insert username here>\AppData\Local\Android\sdk\platform-tools\adb.exe
adb是Android调试桥工具,位于Android / SDK / platform-tools目录中.....如果缺少ADB,则可以从此链接下载Google提供的Android平台工具
You need to select/install the Android SDK Platform-tools. Go to Tools > Android SDK platform tools
. After doing this, try to build again. It should work.
If the above does not solve the problem, try reinstalling the tools: open the "Standalone SDK manager" and uninstall the Android SDK platform-tools, delete the [your sdk directory]/platform-tools
directory completely and install it again using the SDK manager.
Hope this helps!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.