English 中文(简体)
删除“Users/user/.gradle/caches”和“冲散”工作
原标题:Deleted /Users/user/.gradle/caches and flutter stop working

I was trying to solve a problem with flutter build appbundle when I saw a solution on a forum that suggested to deleted the /Users/user/.gradle/caches folder, and now I m getting this error when I try to run my app:

* What went wrong:
Execution failed for task  :app:checkDebugAarMetadata .
> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction
   > /Users/user/.gradle/caches/transforms-3/2f2881f4cceb526aca8e817e92e637d5/transformed/jetified-firebase-functions-20.4.0/META-INF/com/android/build/gradle/aar-metadata.properties (No such file or directory)

I already tried to clean, pub get and run the flutter app again, but it is still doesn t working.

问题回答

我删除了整个<代码>/Users/user/.gradle/的夹,现在正在工作。





相关问题
Some error characters appear during the gradle javadoc task

Some error characters appear during the gradle javaDoc build Gradle version 7.1 and I am using windows I tried to change the project encoding to utf-8 and added the idea vm parameter -Dfile.encoding=...

What are real-world examples of Gradle s dependency graph?

As noted in the documentation, Gradle uses a directed acyclic graph (DAG) to build a dependency graph. From my understanding, having separate cycles for evaluation and execution is a major feature for ...

How can I import one Gradle script into another?

I have a complex Gradle script that wraps up a load of functionality around building and deploying a number of NetBeans projects to a number of environments. The script works very well, but in essence ...

热门标签