파이썬으로 apk 생성


  • Level 3

    apk 생성 컴파일 중 아래와 같이 에러가 발생 하였습니다.
    자바 버젼이 다르다는 내용 같은데..
    구름 환경에서 자바 버젼 변경은 어떻게 하는지.. 도움 요청합니다.
    감사합니다.

    FAILURE: Build failed with an exception.
    [DEBUG]:
    [DEBUG]: * Where:
    [DEBUG]: Build file '/workspace/kivy/KivyHelloWorld/.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 in gradle.properties.
    [DEBUG]:
    [DEBUG]: * Try:
    [DEBUG]: > Run with --stacktrace option to get the stack trace.
    [DEBUG]: > Run with --info or --debug option to get more log output.
    [DEBUG]: > Run with --scan to get full insights.
    [DEBUG]:
    [DEBUG]: * Get more help at https://help.gradle.org

SUGGESTED TOPICS