when enter this command ionic cordova run android
i got this error
cordova run android
Running command: “C:\Program Files\nodejs\node.exe” D:\Ionic\hassan\hooks\after_prepare\010
_add_platform_class.js D:\Ionic\hassan
add to body class: platform-android
Error: Android SDK not found. Make sure that it is installed. If it is not at the default location, set the ANDROID_
HOME environment variable.
i dont know why my project cant build also my ANDROID HOME varible are set.
Requirements check results for android:
Java JDK: installed .
Android SDK: installed
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 var
iable.
Gradle: not installed
Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Looked here: C:\Users\talk2\AppData\Local\Android\sdk\tools\templates\gradle\wrapper
Error: Some of requirements check failed
These are quite old and should be updated if you don’t require specific functionality of them.[quote=“hassanabbas, post:4, topic:96893”]
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: not installed
Could not find gradle wrapper within Android SDK. Might need to update your Android SDK.
Looked here: C:\Users\talk2\AppData\Local\Android\sdk\tools\templates\gradle\wrapper
[/quote]
Do you have Android Studio installed? If not, you should. This takes care of most of this stuff.