You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2022/01/30 21:33:28 UTC

[GitHub] [cordova-android] NateZimmer commented on issue #845: Can't find Gradle (Android Studio)

NateZimmer commented on issue #845:
URL: https://github.com/apache/cordova-android/issues/845#issuecomment-1025236158


   Ultimately for gradle, you need to expose `gradle.bat` to your `PATH`.  `gradle.bat` is located some level within the `bin` directory of a gradle installation.  Also note, `%USERDIR%/.gradle` folder won't appear now until you build atleast 1 sample android project which dynamically pulls in the latest gradle. So both java & gradle that cordova needs can come from the latest 2022 android studio but you need to do some finagling to get it all set up. Alternatively as others reccomended, you can just download a gradle distribution and point your path to its `gradle.bat` file.  


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

To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



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