jaydrogers edited a comment on issue #1288: URL: https://github.com/apache/cordova-android/issues/1288#issuecomment-893595405
Just adding a note that I adopted @breautek's work around from this comment: https://github.com/apache/cordova-android/issues/1288#issuecomment-884423978 His workaround pointed me in the right direction, but I needed to make a few changes.... ### The error I was seeing What brought me to this thread was seeing this error message: ``` No usable Android build tools found. Highest 30.x installed version is 30.0.2; minimum version required is 30.0.3. ``` ### First, I had a different ENV var I saw @breautek's comment and noticed his variable was `ANDROID_HOME`, but mine was `ANDROID_SDK_ROOT`. Thankfully I noticed this in my logs: ``` ANDROID_SDK_ROOT=/Users/jay/Library/Android/sdk (recommended setting) ANDROID_HOME=undefined (DEPRECATED) ``` ### So I changed the command to: ``` $ANDROID_SDK_ROOT/tools/bin/sdkmanager --uninstall "build-tools;31.0.0" ``` ### I then installed version 30.0.3: ``` $ANDROID_SDK_ROOT/tools/bin/sdkmanager --install "build-tools;30.0.3" ``` Hope this helps as people smarter than me helps diagnose an actual solution 🤓 Thanks for your hard work! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org