I am trying to install Cordoba on windows 7. I am following this guide:
https://www.tutorialspoint.com/cordova/cordova_first_application.htm
while I fulfill the requirements for the cord , it says that the Android target is not set and set the ANDROID_HOME environment variable
I:\CordovaProject\hello>cordova requirements
Requirements check results for android:
Java JDK: installed 1.8.0
Android SDK: installed true
Android target: not installed
Android SDK not found. Make sure that it is installed. If it is not at the
default location, set the ANDROID_HOME environment variable.
Gradle: installed
Error: Some of requirements check failed
I:\CordovaProject\hello>echo %ANDROID_HOME%
C:\Users\user\AppData\Local\Android\sdk
as you can see in image 1, when I return ANDROID_HOME, it is set to the correct location. I can not resolve this error. kindly help me with this
path has the following meanings:% ANDROID_HOME% \ tools;% ANDROID_HOME% \ platform-tools
I downloaded android-25 in android studio.
android: android-25
I:\CordovaProject\\\Android\CordovaLib\project.properties
I:\CordovaProject\hello\platform\android\project.properties
android,
BUILD FAILED
Total time: 31.807 secs
Error: cmd: Command failed with exit code 1 Error output:
FAILURE: Build failed with an exception.
* What went wrong:
A problem occurred configuring root project 'android'.
> Could not resolve all dependencies for configuration ':classpath'.
> Could not download uast.jar (com.android.tools.external.com-
intellij:uast:145.597.3)
> Could not get resource 'https://jcenter.bintray.com/com/android/tools/ex
ternal/com-intellij/uast/145.597.3/uast-145.597.3.jar'.
> Could not GET 'https://jcenter.bintray.com/com/android/tools/external
/com-intellij/uast/145.597.3/uast-145.597.3.jar'.
> akamai.bintray.com
* Try:
Run with
-debug option to get more log output.