Skip to content
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

Cannot build for Android #5135

Open
wode2016501 opened this issue Jul 26, 2024 · 1 comment
Open

Cannot build for Android #5135

wode2016501 opened this issue Jul 26, 2024 · 1 comment

Comments

@wode2016501
Copy link

@ubuntu:/mnt/656F8E3145175D32/ubuntu/src/SuperTuxKart-1.4-src/android$ ./make.sh
Building APK
find: ‘/mnt/656F8E3145175D32/ubuntu/src/SuperTuxKart-1.4-src/android/assets/data/po’: 没有那个文件或目录

FAILURE: Build failed with an exception.

  • Where:
    Build file '/mnt/656F8E3145175D32/ubuntu/src/SuperTuxKart-1.4-src/android/build.gradle' line: 27

  • What went wrong:
    A problem occurred evaluating root project 'android'.

Failed to apply plugin 'com.android.internal.application'.
Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
You can try some of the following options:
- changing the IDE settings.
- changing the JAVA_HOME environment variable.
- changing org.gradle.java.home in gradle.properties.

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 1s

@deveee
Copy link
Member

deveee commented Jul 26, 2024

Try build current git versions or remove this workaround
f5cc8b4

Also current git has updated gradle and IIRC newer target api.

@CodingJellyfish CodingJellyfish changed the title android无法构建 Cannot build fot Android Aug 3, 2024
@CodingJellyfish CodingJellyfish changed the title Cannot build fot Android Cannot build for Android Aug 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants