Geert
04/05/2024, 10:17 AM> Task :app:mergeExtDexDebug FAILED
AGPBI: {"kind":"error","text":"java.lang.NullPointerException: Cannot invoke \"String.length()\" because \"<parameter1>\" is null","sources":[{"file":"/Users/geert/.gradle/caches/transforms-3/0ab13f267927bee891d1a2585b611b55/transformed/lifecycle-livedata-core-2.8.0-alpha04-runtime.jar"}],"tool":"D8"}
Execution failed for task ':app:mergeExtDexDebug'.
> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.
> Failed to transform lifecycle-livedata-core-2.8.0-alpha04.aar (androidx.lifecycle:lifecycle-livedata-core:2.8.0-alpha04) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingNoClasspathTransform: /Users/geert/.gradle/caches/transforms-3/0ab13f267927bee891d1a2585b611b55/transformed/lifecycle-livedata-core-2.8.0-alpha04-runtime.jar.
> Error while dexing.
* 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.
tapchicoma
04/05/2024, 10:34 AMError while dexing.it is not resolve, but actual dexing error. You should check logs for the cause
hisham bin awiad
02/21/2025, 7:08 AM