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/11/24 15:38:01 UTC

[GitHub] [cordova] joserogeriofilho commented on issue #158: Gradle: not installed

joserogeriofilho commented on issue #158: Gradle: not installed
URL: https://github.com/apache/cordova/issues/158#issuecomment-557900027
 
 
   Had a similar problem due to the same cause: on Windows, my Android Studio was not installed on the default folder "ProgramFiles" (it was even on a different disk partition than my OS).
   
   The error I got was "Cannot read property 'toString' of null" and I solved it by forcing to always get my external gradle installation instead of looking for the one embedded on Android Studio on ``check_reqs.js``:
   
   ``module.exports.get_gradle_wrapper = function () {
       return forgivingWhichSync('gradle');
   }``
   
   Renaming the Android Studio folder did not work for me.
   

----------------------------------------------------------------
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