Cordova App - build tool error - Gradle
Solution 1
Please, run the following commands.
On Windows:
cd c:\Android\android-sdk\tools\bin
Remember to replace tools path according to yours.
and then:
sdkmanager "build-tools;26.0.0"
Solution 2
You have set ANDROID_HOME
incorrect in your ~/.profile
. Point it just to the SDK
folder.
export ANDROID_HOME="/home/iamkhush/Android/Sdk"
Also, make sure that JAVA_HOME
, PATH
are set correct, and /home/iamkhush/Android/Sdk
have Android SDK build-tools version 19.1.0
or higher.
Solution 3
Setting the environment variable ANDROID_HOME
to the right directory helped me:
C:\Users\roelo\AppData\Local\Android\sdk\
Solution 4
make sure you have installed Android SDK build-tools version 19.1.0 properly.
Open Android SDK and check that.
iamkhush
I am a Full Stack Web Developer. I am proficient in building applications with Python and Javascript. Also interested in working in exciting fields such as Blockchain and VR.
Updated on January 09, 2021Comments
-
iamkhush over 3 years
I have a cordova application. Unable to compile it after a system re-install.
I am having the error -
Error:No installed build tools found. Please install the Android build tools version 19.1.0 or higher.
My profile has
export ANDROID_HOME="/home/iamkhush/Android/Sdk/tools" export ANDROID_PLATFORM_TOOLS="/home/iamkhush/Android/Sdk/platform-tools" export ANDROID_STUDIO='/home/iamkhush/Downloads/work/android-studio/bin/'
I have dirs with names
19.1.0
and23.0.1
inhome/iamkhush/Android/Sdk/build-tools
I have gradle 2.7 installed.
What else should I be looking into to resolve this? I believe I have seen all the posts similar to this, but couldnt get it working.
-
Devendra Singh over 6 yearsI have
build-tools version 19.1.0
and JAVA_HOMEC:\Program Files\Java\jdk1.8.0_91
ANDROID_HOMED:\AppData\Local\Android\sdk\tools