-
Notifications
You must be signed in to change notification settings - Fork 506
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
buildozer JAVA #1580
Comments
org.gradle.java.home
in gradle.properties
.
|
👋 @zRedHox, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project. |
Versions
Description
//I do java8 and get this error
[DEBUG]: * Where:
[DEBUG]: Build file '/home/dai/pyoffice/kivy_project/kivy_venv/share/kivy1/.buildozer/android/platform/build-arm64-v8a_armeabi-v7a/dists/myapp/build.gradle' line: 23
[DEBUG]:
[DEBUG]: * What went wrong:
[DEBUG]: A problem occurred evaluating root project 'myapp'.
[DEBUG]: > Failed to apply plugin 'com.android.internal.application'.
[DEBUG]: > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
[DEBUG]: You can try some of the following options:
[DEBUG]: - changing the IDE settings.
[DEBUG]: - changing the JAVA_HOME environment variable.
[DEBUG]: - changing
org.gradle.java.home
ingradle.properties
I've search that java8 will work. It does at first but I get the error tell me to use JAVA 11 but when I switch to JAVA 11 there are still error
sh.ErrorReturnCode_1:
RAN: /home/dai/.buildozer/android/platform/android-sdk/tools/bin/avdmanager list target
STDOUT:
STDERR:
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.(SchemaModule.java:156)
at com.android.repository.api.SchemaModule.(SchemaModule.java:75)
at com.android.sdklib.repository.AndroidSdkHandler.(AndroidSdkHandler.java:81)
at com.android.sdklib.tool.AvdManagerCli.run(AvdManagerCli.java:213)
at com.android.sdklib.tool.AvdManagerCli.main(AvdManagerCli.java:200)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 5 more
buildozer.spec
Command:
Spec file:
Logs
The text was updated successfully, but these errors were encountered: