korlibs / korlibs/korge-hello-world-client-server
runAndroidDeviceRelease crashes with : R8: Type KR is defined
- Dominant language
- Kotlin
- Stars
- 3
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
runAndroidDeviceRelease
> Task :client:minifyReleaseWithR8 FAILED
ERROR:D:\Kotlin_Lab\RaptorianIDE\shared\build\intermediates\runtime_library_classes_jar\release\classes.jar: R8: Type KR is defined multiple times: D:\Kotlin_Lab\RaptorianIDE\shared\build\intermediates\runtime_library_classes_jar\release\classes.jar:KR.class, D:\Kotlin_Lab\RaptorianIDE\client\build\tmp\kotlin-classes\release\KR.class
w: Detected multiple Kotlin daemon sessions at kotlin\sessions
142 actionable tasks: 140 executed, 2 up-to-date
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':client:minifyReleaseWithR8'.
> A failure occurred while executing com.android.build.gradle.internal.tasks.R8Task$R8Runnable
> Compilation failed to complete, origin: D:\Kotlin_Lab\RaptorianIDE\shared\build\intermediates\runtime_library_classes_jar\release\classes.jar:KR.class
* 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 3m 36s

Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing runAndroidDeviceRelease and inspect the :client:minifyReleaseWithR8 failure, focusing on the duplicate KR.class entries under shared/build/intermediates/runtime_library_classes_jar/release and client/build/tmp/kotlin-classes/release. Done means the release task completes without R8 reporting Type KR as defined multiple times.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, kotlin
- Domain
- build-system, mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100