breautek commented on issue #1613: URL: https://github.com/apache/cordova-android/issues/1613#issuecomment-1550505099
Here are some things you can check... 1. Ensure `ANDROID_HOME` and `ANDROID_SDK_ROOT` variables are the same. `ANDROID_SDK_ROOT` is deprecated but some tools may look for it over `ANDROID_HOME`. They both should point to the same value, and the path should point to the root of the Android SDK directory (should have `platforms`, `platform-tools`, `build-tools`, etc) To ensure both android home variables are consistently set you can do something like: ```bash export ANDROID_HOME="/path/to/android/sdk" export ANDROID_SDK_ROOT=$ANDROID_HOME ``` 2. Ensure that `$ANDROID_HOME/build-tools/32.0.0 actually exists. If it shows that its installed in Android Studio's SDK Manager but is missing in `$ANDROID_HOME/build-tools` then perhaps you have multiple android SDK installs. 3. Check that your $ANDROID_HOME is set to the same path as shown in Android Studio -> Settings -> Appearance & Behaviour -> System Settings -> Android SDK At the end of the day, the tools aren't finding the build tools and there is a reason for it... we just need to find out what that reason is. -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
