korge
korge copied to clipboard
Can not launch korge-hello-world
Hello, trying to launch korge-hello-world project and stuck with this build errors. Any help appreciated
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* What went wrong:
A problem was found with the configuration of task ':lintVitalAnalyzeRelease' (type 'AndroidLintAnalysisTask').
- Gradle detected a problem with the following location: '/home/IdeaProjects/korge-hello-world/build/processedResources/jvm/main'.
Reason: Task ':lintVitalAnalyzeRelease' uses this output of task ':jvmProcessResources' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':jvmProcessResources' as an input of ':lintVitalAnalyzeRelease'.
2. Declare an explicit dependency on ':jvmProcessResources' from ':lintVitalAnalyzeRelease' using Task#dependsOn.
3. Declare an explicit dependency on ':jvmProcessResources' from ':lintVitalAnalyzeRelease' using Task#mustRunAfter.
For more information, please refer to https://docs.gradle.org/8.3/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
* 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.
> Get more help at https://help.gradle.org.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
A problem was found with the configuration of task ':lintAnalyzeDebug' (type 'AndroidLintAnalysisTask').
- Gradle detected a problem with the following location: '/home/deaProjects/korge-hello-world/build/processedResources/jvm/main'.
Reason: Task ':lintAnalyzeDebug' uses this output of task ':jvmProcessResources' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:
1. Declare task ':jvmProcessResources' as an input of ':lintAnalyzeDebug'.
2. Declare an explicit dependency on ':jvmProcessResources' from ':lintAnalyzeDebug' using Task#dependsOn.
3. Declare an explicit dependency on ':jvmProcessResources' from ':lintAnalyzeDebug' using Task#mustRunAfter.
For more information, please refer to https://docs.gradle.org/8.3/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
* 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.
> Get more help at https://help.gradle.org.
==============================================================================
BUILD FAILED in 2s
Configuration cache entry reused.
5:49:35 PM: Execution finished 'build'.
This lintVitalAnalyzeRelease seems to happen a lot lately but not to everyone nor to CI. Which task are you running when getting that error? Is it runJvm or something else? Do you have the Android SDK installed?
Hello! I just tried to launch korge-hello-world project in Intellij Idea Community. Android SDK installed in /home/Android/Sdk
Can you provide more information? I'm asuming it is linux from the path, which specific operating system, which JDK is installed and in path, and which intellij version are you using?
Thank you, I am very appreciated
- Distributor ID: Debian Description: Debian GNU/Linux 12 (bookworm) Release: 12 Codename: bookworm
- openjdk version "17.0.9" 2023-10-17 OpenJDK Runtime Environment (build 17.0.9+9-Debian-1deb12u1) OpenJDK 64-Bit Server VM (build 17.0.9+9-Debian-1deb12u1, mixed mode, sharing)
- /usr/bin/java
- Intellij Idea 2023.3.2 (Community Edition) Build #IC-233.13135.103, built on December 20, 2023 Runtime version: 17.0.9+7-b1087.9 amd64 VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
After some workaround output changed to - Configuration with name 'androidx.core:core-ktx:1.12.0' not found