You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing this package, running my project gives the following error:
ERROR:D8: com.android.tools.r8.kotlin.H
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeExtDexDevDebug'.
> Could not resolve all files for configuration ':app:devDebugRuntimeClasspath'.
> Failed to transform kotlin-stdlib-1.9.0.jar (org.jetbrains.kotlin:kotlin-stdlib:1.9.0)
to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-d
esugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexin
g-min-sdk=21, org.gradle.category=library, org.gradle.libraryelements=jar, org.gradle.status
=release, org.gradle.usage=java-runtime}.
> Execution failed for DexingWithClasspathTransform: /home/ahsan/.gradle/caches/transf
orms-3/3b2f4188171f5e3ee96dda626b21c510/transformed/jetified-kotlin-stdlib-1.9.0.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.
* Get more help at https://help.gradle.org
BUILD FAILED in 12s
Running Gradle task 'assembleDevDebug'... 13.3s
┌─ Flutter Fix ──────────────────────────────────────────────────────────────┐
│ [!] The shrinker may have failed to optimize the Java bytecode. │
│ To disable the shrinker, pass the `--no-shrink` flag to this command. │
│ To learn more, see: https://developer.android.com/studio/build/shrink-code │
└────────────────────────────────────────────────────────────────────────────┘
Error: Gradle task assembleDevDebug failed with exit code 1
After installing this package, running my project gives the following error:
android/build.gradle:
android/settings.gradle:
android/src/build.gradle:
Tried with kotlin 1.9.0 too, no luck.
The text was updated successfully, but these errors were encountered: