-
Notifications
You must be signed in to change notification settings - Fork 360
Description
Hello, I'm not able to build the app in Android studio. I've tried many versions of JDK, including ver 8, 11, 17 and different version of Gradle, including the latest, which was the only one successful, but then the App failed to start in the emulator.. Could you please help?
JDK 8, Gradle 4.1, Androind Gradle plugin 3.0.1 gives "cvc-complex-type.2.4.a: Invalid content was found starting with element 'base-extension'. One of '{layoutlib}' is expected."
JDK 11, Gradle 5.0, Androind Gradle plugin 3.2.1 gives the same.
JDK 17, Gradle 7.3, Androind Gradle plugin 4.2.2 gives "Unable to make field private final java.lang.String java.io.File.path accessible: module java.base does not "opens java.io" to unnamed module @1409eec6".
JDK 17, Gradle 8.2, Androind Gradle plugin 8.2.2 compiles successfully, but does not start in emulator saying: "PockectSpinxDemo keeps stopping".
I've spent the whole day unable to figure out what I'm doing wrong. Am I forced to use the latest Gradle plugin by Google?
