Sorry, Android newbie here.

I have Android 3.1.3 installed on macOS, with cordova 8.0.0.
I did:
    cordova platform add https://github.com/apache/cordova-android#7.1.1
    cordova build

I get this error:
https://github.com/apache/cordova-android/blob/bf29fe0e10334938d2e6ee8116f9a30c762c40b4/bin/templates/cordova/lib/check_reqs.js#L137

Should it be able to detect and use the gradle within Android Studio.app?

Based on code inspection here, it doesn't (isWindows is false, and
thus androidStudioPath is also null):
https://github.com/apache/cordova-android/blob/bf29fe0e10334938d2e6ee8116f9a30c762c40b4/bin/templates/cordova/lib/check_reqs.js#L122

I know the docs say "As of Cordova-Android 6.4.0, Gradle is now
required to be installed to build Android." so perhaps the error
message needs to be tweaked.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to