Installing JDK yourself will probably be required if you just install the android SDK without installing android studio, so I don't think we should necessary **depend** on android studio, but I think Cordova could be smarter to look for a java install inside android studio.

On 2019-12-09 12:01 p.m., Norman Breau wrote:
Not 100% if it is still required but this is probably a legacy requirement. Android Studio started including the JDK in AS 2.2, which was released in 2016.

I just checked my android studio install for linux, and I have a java install location at <android-studio>/jre/ and it is version 1.8.0_152

On 2019-12-09 10:43 a.m., julio cesar sanchez wrote:
Do anybody know why we still require java for cordova-android?

Just did a clean install on my computer and after installing cordova and
trying to run it's complaining about java not installed. We not just
require Java, we require Java 8, while latest is 13.
I know Java 8 is required for Android development, but the thing is,
Android Studio includes a JDK 8 you can use to run apps. I can run native apps without any problem without java installed. Not just that, I can run
Cordova apps if I open the Android project at /platforms/android.

So, does it still make sense to keep that requirement and force users to
have Java 8 installed in their systems?
Is it required by the CLI or some command we use to run the app?


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


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

Reply via email to