mlynch opened a new issue #1347: URL: https://github.com/apache/cordova-android/issues/1347
# Bug Report ## Problem When running `cordova platform add android@10` and then `cordova build` on Windows 10, this error is thrown: ```shell Checking Java JDK and Android SDK versions ANDROID_SDK_ROOT=C:/Users/Max/AppData/Local/Android/Sdk (recommended setting) ANDROID_HOME=C:/Users/Max/AppData/Local/Android/Sdk (DEPRECATED) Using Android SDK: C:\Users\Max\AppData\Local\Android\Sdk Could not find an installed version of Gradle either in Android Studio, or on your system to install the gradle wrapper. Please include gradle in your path, or install Android Studio ``` Similar issue as to #922 but I was not able to get it working by trying the recommended fix in that issue and, looking at the code for `get_gradle_wrapper` in `check_reqs.js`, I don't see how this will work at all on Windows as there is no `gradle` binary anymore AFAIK ### What is expected to happen? The Gradle check probably needs to be updated since it is no longer a binary in recent Android Studios (such as the one I'm using: `Android Studio Arctic Fox : 2020.3.1` ### What does actually happen? ## Information <!-- Include all relevant information that might help understand and reproduce the problem --> ### Command or Code <!-- What command or code is needed to reproduce the problem? --> `cordova platform add android@10` `cordova build` ### Version information <!-- What are relevant versions you are using? For example: Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins Other Frameworks: Ionic Framework and CLI version Operating System, Android Studio, Xcode etc. --> Windows 10 Android Studio Arctic Fox : 2020.3.1 Cordova 10.0.01 `cordova-android` 10.1.0` -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
