Home > OS >  cordova build fails because it can't find build tools
cordova build fails because it can't find build tools

Time:11-06

Build tools it is specifically asking for are located at C:\Users\id\AppData\Local\Android\sdk\build-tools How do I tell cordova where to look?

I have set location value to ANDROID_HOME, ANDROID_SDK_HOME, ANDROID_BUILD, and ANDROID_SDK_ROOT and nothing works

CodePudding user response:

You need to set your path to C:\Users\id\AppData\Local\Android

CodePudding user response:

As far as I know, in the latest version of Android Studio you do not have to set anything in the environmental variables as it is done automatically. It's always better to keep your SDK folder in the root drive i.e. C\Android\SDK.

Have you tried uninstalling and re-installing the Android Studio once? keep every thing to default and don't make any changes. Just download all the SDKs required and don't set any target sdk version in your project for a moment. This should work definitely.

  • Related