Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.0k views
in Technique[技术] by (71.8m points)

android - Build failed with an exception - Execution failed for task ':cloud_firestore:parseDebugLocalResources'

I was running a Flutter project on android studio code and when I run the code, I get this error message:

Launching libmain.dart on sdk gphone x86 arm in debug mode...

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':cloud_firestore:parseDebugLocalResources'.
> Could not resolve all files for configuration ':cloud_firestore:androidApis'.
   > Failed to transform android.jar to match attributes {artifactType=android-platform-attr, org.gradle.libraryelements=jar, org.gradle.usage=java-r
untime}.
      > Execution failed for PlatformAttrTransform: C:UsersaayusAppDataLocalAndroidsdkplatformsandroid-29android.jar.
         > error in opening zip file

* 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 57s
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                        59.6s
Exception: Gradle task assembleDebug failed with exit code 1

This error has been coming for a quite a few days now and I haven't found a proper solution Can someone help with this? Thanks in advance

question from:https://stackoverflow.com/questions/65914496/build-failed-with-an-exception-execution-failed-for-task-cloud-firestorepar

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...