gradle problem

Troubleshooting

what can be the problem. you got any idea?

Launching lib\main.dart on 23127PN0CG in debug mode...

Upgrading build.gradle

Running Gradle task 'assembleDebug'...

ERROR:C:\Users\ciarp\.gradle\caches\transforms-3\3d979c09ae95ea959e87cfa8d7b64639\transformed\jetified-appcompat-resources-1.7.0-runtime.jar: D8: java.lang.NullPointerException

ERROR:C:\Users\ciarp\.gradle\caches\transforms-3\9ff965d89e7c18328de06a7de7f097d3\transformed\appcompat-1.7.0-runtime.jar: D8: java.lang.NullPointerException

FAILURE: Build failed with an exception.

* What went wrong:

Execution failed for task ':app:mergeExtDexDebug'.

> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.

> Failed to transform appcompat-resources-1.7.0.aar (androidx.appcompat:appcompat-resources:1.7.0) 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=23, 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 DexingWithClasspathTransform: C:\Users\ciarp\.gradle\caches\transforms-3\3d979c09ae95ea959e87cfa8d7b64639\transformed\jetified-appcompat-resources-1.7.0-runtime.jar.

> Error while dexing.

> Failed to transform appcompat-1.7.0.aar (androidx.appcompat:appcompat:1.7.0) 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=23, 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 DexingWithClasspathTransform: C:\Users\ciarp\.gradle\caches\transforms-3\9ff965d89e7c18328de06a7de7f097d3\transformed\appcompat-1.7.0-runtime.jar.

> Error while dexing.

> Failed to transform appcompat-1.7.0.aar (androidx.appcompat:appcompat:1.7.0) 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=23, org.gradle.status=release, org.gradle.usage=java-runtime}.

> Execution failed for DexingWithClasspathTransform: C:\Users\ciarp\.gradle\caches\transforms-3\9ff965d89e7c18328de06a7de7f097d3\transformed\appcompat-1.7.0-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.

* Get more help at https://help.gradle.org

BUILD FAILED in 19s

Running Gradle task 'assembleDebug'... 20,6s

Error: Gradle task assembleDebug failed with exit code 1

What have you tried so far?

delete and reinstall android versions..

Did you check FlutterFlow's Documentation for this topic?
No
5
7 replies