Gradle sync failed: No installed build tools found. Install the Android build tools version 19.1.0 or higher
You need to write the correct "Environment Variables".
See: https://developer.android.com/studio/command-line/variables
Windows:
setx ANDROID_SDK_ROOT "C:\android-sdk-windows"
setx PATH "%PATH%;%ANDROID_SDK_ROOT%\tools;%ANDROID_SDK_ROOT%\platform-tools"
Mac OS X
export ANDROID_SDK_ROOT=/<installation location>/android-sdk-macosx
export PATH=${PATH}:$ANDROID_SDK_ROOT/tools:$ANDROID_SDK_ROOT/platform-tools
Linux
export ANDROID_SDK_ROOT=/<installation location>/android-sdk-linux
export PATH=${PATH}:$ANDROID_SDK_ROOT/tools:$ANDROID_SDK_ROOT/platform-tools
Update: ANDROID_HOME is deprecated, ANDROID_SDK_ROOT is now the correct variable
How to fix no sdk build tools installed in cordova android
I had the same problem and this worked for me on my mac.
Add the path to your ~/.bash_profile ( /users/ad8kunle/.bash_profile )
export ANDROID_HOME=/Android/sdk
export PATH=$ANDROID_HOME/platform-tools:$PATH
export PATH=$ANDROID_HOME/tools:$PATH
Quit your terminal and start again
Ionic Cordova Android: No usable Android build tools found. Highest 30.x installed version is 30.0.2; minimum version required is 30.0.3
Today, I could finally install version 30.0.3.
In Android Studio, I could see and install it from here...
After this, and then also having to remove the whitelist plugin (it is not required any more), I could get it to build.
Only hassle now is it outs to a .aab
and not an .apk
so side load testing now harder. But the main issue, the building is now working (on Windows PC).. Now hopefully can do the same on the Mac.
Related Topics
How to Set Custom Font for a Whole Application in Android
Cursor Adapter and SQLite Example
How to Get an Uri of an Image Resource in Android
Best Practice for Defining Button Events in Android
Blur Background Behind Alertdialog
Fragmentcontainerview Using Findnavcontroller
How to Keep My Android Service Running When the Screen Is Turned Off
Change Image of Imageview Programmatically in Android
Spinner Does Not Wrap Text -- Is This an Android Bug
Failed to Find Build Tools Revision 23.0.1
How to Get the Current Page Number of a Viewpager for Android
Converting Yuv->Rgb(Image Processing)->Yuv During Onpreviewframe in Android
How to Disable Keypad Popup When on Edittext
Broadcastreceiver + Sms_Received
Restoring State of Textview After Screen Rotation