Comments (4)
I'll try this out now... this doesn't look like anything Liftoff is doing though. I'd definitely make sure your IDE is up to date -- I've seen updates recently for both Android Studio and IDEA.
from gdx-liftoff.
It is fixed it is happend due to old kotlin plugin
from gdx-liftoff.
Interesting, I'll try to update it in Liftoff if possible. I had an issue when launching Gradle with Java 21 and trying to build an Android APK from IDEA, but it wasn't the same bug you reported. The bug I hit was resolved by changing the setting in IDEA to run Gradle with Java 17. In case anyone finds this by searching, the error was:
> Task :android:compileReleaseJavaWithJavac FAILED
Execution failed for task ':android:compileReleaseJavaWithJavac'.
> Could not resolve all files for configuration ':android:androidJdkImage'.
> Failed to transform core-for-system-modules.jar to match attributes {artifactType=_internal_android_jdk_image, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
> Execution failed for JdkImageTransform: C:\Users\tommy\AppData\Local\Android\Sdk\platforms\android-34\core-for-system-modules.jar.
> Error while executing process C:\d\jvm\jdk21-hotspot\bin\jlink.exe with arguments {--module-path C:\Users\tommy\.gradle\caches\transforms-3\553ad13d8645437e7a391ae3ab1b8dbb\transformed\output\temp\jmod --add-modules java.base --output C:\Users\tommy\.gradle\caches\transforms-3\553ad13d8645437e7a391ae3ab1b8dbb\transformed\output\jdkImage --disable-plugin system-modules}
I've never seen this type of bug before, and I didn't know Android even used jlink...
from gdx-liftoff.
Try ./gradlew clean
After that try building again It sometimes fixed the problem
from gdx-liftoff.
Related Issues (20)
- KTX AI module HOT 2
- Trojan detected (1.11.0.9 only) HOT 2
- Gradle Kotlin support HOT 2
- File picker fails with a native error on Linux HOT 5
- Error building Android generated project with Kotlin HOT 6
- Disable Gradle Daemon for Gradle Tasks Performed in Project Generation HOT 2
- Bundle Release for Android with Lombok HOT 1
- minifyEnabled true can create problems HOT 9
- classes cannot be resolved in ios project. HOT 6
- gwt-module.dtd Not found HOT 2
- 1.12.0.2 does not start on OSX HOT 6
- Add Fleks to third party libraries? HOT 1
- lwjgl3:dist task broken HOT 2
- Created Project with Language Kotlin does not work HOT 1
- If the main class is named as "Game" with the "Game" template than the class has cyclic dependency. HOT 3
- Clarify LWJGL2 Compatibility with JDK17+ in Documentation HOT 5
- Consider changing the title in index.html from "libGDX application" to the project name HOT 1
- DANGEROUS BUG: specifying ~/ as path results in a literal folder "~" being created HOT 2
- Suggestion to add this line of code to add debug information for lwjgl3 module/app in the gradle build file HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gdx-liftoff.