Gradle breaks Android building
Gradle breaks Android building
"Deprecated Gradle Features were used" breaks Android building in 2.50 B1 across machines and across connections Windows 10 X64 and JDK 8_371
Re: Gradle breaks Android building
What do you mean it breaks building ? I got the warning as well but it works as expected here ? May be it works as expected in beta 2
Re: Gradle breaks Android building
60% abort
...
>Failed to apply plugin ...
>Android Gradle plugin requires Java 11 to run ...
...
...
>Failed to apply plugin ...
>Android Gradle plugin requires Java 11 to run ...
...
2B or not 2B = FF
Re: Gradle breaks Android building
Actually you have to install a JDK 11, a free downloadable one for example from Microsoft or Amazon, or after registration from Oracle.
With the 2.50B2 and both free downloadable JDKs I can compile now.
I think SB should check the Java version, and the preferences dialog also should be changed to ask for a JDK 11 path.
With the 2.50B2 and both free downloadable JDKs I can compile now.
I think SB should check the Java version, and the preferences dialog also should be changed to ask for a JDK 11 path.
Re: Gradle breaks Android building
I don't see a message from Fred about switching to Java 11.
2B or not 2B = FF
Re: Gradle breaks Android building
You are right, but Fred wrote for the 2.50b1, that it was updated to Cordova 10, and on the Cordova homepage I see:
Don‘t know if the version numbers of Cordova base and cordova-android both are now 10?Java Development Kit (JDK)
If you are using cordova-android 10.0.0 or greater, install the Java Development Kit (JDK) 11.
If you are using any version below cordova-android 10.0.0, install the Java Development Kit (JDK) 8.
Re: Gradle breaks Android building
Yes, you need Java 11 now, I will write it in the requierements. Does it work for your now with Java 11 ?
Re: Gradle breaks Android building
At this point we need to figure out how to switch between 8 and 11 in the same system.
2B or not 2B = FF
Re: Gradle breaks Android building
You can install it in any directory, and point the install path in the IDE Preference -> Compiler