You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/09/25 08:12:08 UTC

[GitHub] [cordova] hanilozmen opened a new issue #158: Gradle: not installed

hanilozmen opened a new issue #158: Gradle: not installed
URL: https://github.com/apache/cordova/issues/158
 
 
   I have Android Studio and SDK and I am able to run Android apps. However, when I run the command "cordova requirements" after running "cordova create testapp com.hanilozmen.testcordova TestApp", I am always getting this error, even I downloaded gradle manually and added it to the Path as 'C:\Gradle\gradle-5.1.1\bin':
   
   Java JDK: installed 1.8.0
   Android SDK: installed true
   Android target: installed android-28,android-27,android-26,android-24,android-23,android-22,android-21,android-16,Google Inc.:Google APIs:16,android-15,Google Inc.:Google APIs:15
   Gradle: not installed
   Cannot read property 'length' of undefined
   Some of requirements check failed
   
   ---------------------
   What would be the reason for this error? Other settings:
   
   OS: Windows 10
   npm : 6.11.3
   nodejs: 10.16.3
   Gradle 5.1.1
   
   I also added required environment parameters: 
   ANDROID HOME -> C:\AndroidSDK
   ANDROID_SDK_ROOT -> C:\AndroidSDK
   JAVA_HOME -> C:\Program Files\Java\jdk1.8.0_191
   JRE_HOME -> C:\Program Files\Java\jre1.8.0_201
   
   Also, these are in the 'Path' : 
   C:\AndroidSDK\tools\bin
   C:\AndroidSDK\tools
   C:\AndroidSDK\platform-tools\bin
   C:\AndroidSDK\platform-tools
   C:\Gradle\gradle-5.1.1\bin
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org