Zac Sweers
10/10/2024, 1:51 PMkaeawc
10/10/2024, 6:17 PMkaeawc
10/10/2024, 6:17 PMZac Sweers
10/10/2024, 9:12 PMTing-Yuan Huang
10/10/2024, 9:34 PMkaeawc
10/12/2024, 3:49 PMKSObjectCacheManager
. I have a branch here with the changes to remove them and all tests still pass. I want to validate that this actually addresses the memory leaks we were able to reproduce with NowInAndroid, but I'm running into issues with the metadata not matching Kotlin releases. I'm trying to now use 2.1.0-dev-5441
but unable to find the maven repo where this is hosted. Do I just need to build it from source for my local maven repo?
Plugin [id: 'org.jetbrains.kotlin.plugin.compose', version: '2.1.0-dev-5441', apply: false] was not found in any of the following sources:
- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (No included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'org.jetbrains.kotlin.plugin.compose:org.jetbrains.kotlin.plugin.compose.gradle.plugin:2.1.0-dev-5441')
Searched in the following repositories:
Google
MavenRepo
MavenLocal(file:/Users/jason/.m2/repository/)
Gradle Central Plugin Repository
compose-compiler(<https://androidx.dev/storage/compose-compiler/repository/>)
Compose-JB(<https://maven.pkg.jetbrains.space/public/p/compose/dev>)
kaeawc
10/12/2024, 3:56 PMkaeawc
10/12/2024, 4:01 PM> Task :app:hiltJavaCompileDemoDebug FAILED
ASM Instrumentation process wasn't able to resolve some classes, this means that
the instrumented classes might contain corrupt stack frames. Make sure the
dependencies that contain these classes are on the runtime or the provided
classpath. Otherwise, the jvm might fail to load the corrupt classes at runtime
when running in a jvm environment like unit tests.
Classes that weren't resolved:
> androidx.window.extensions.embedding.ActivityEmbeddingComponent
> androidx.window.extensions.layout.WindowLayoutComponent
> androidx.window.sidecar.SidecarDeviceState
> androidx.window.sidecar.SidecarInterface
> androidx.compose.animation.tooling.ComposeAnimatedProperty
> com.google.common.util.concurrent.ListenableFuture
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:hiltJavaCompileDemoDebug'.
> java.lang.IllegalStateException: Unable to read Kotlin metadata due to unsupported metadata version.
kaeawc
10/12/2024, 4:36 PMkaeawc
10/12/2024, 4:36 PMkaeawc
10/12/2024, 7:11 PMmvn
cli tool.kaeawc
10/12/2024, 7:40 PMkaeawc
10/12/2024, 11:11 PMZac Sweers
10/16/2024, 7:35 PMTing-Yuan Huang
10/16/2024, 7:53 PMkaeawc
10/16/2024, 8:01 PMkaeawc
10/20/2024, 5:38 AM