失败:生成失败,发生异常。
无法确定任务':app:compileDebugJavaWithJavac'的依赖关系。
Could not resolve all task dependencies for configuration ':app:debugCompileClasspath'. Could not find com.google.firebase:firebase-analytics:. Required by: project :app
使用--stacktrace选项运行以获取堆栈跟踪。使用--info或--debug选项运行,以获取更多日志输出。与--scan一起运行以获取完整的见解。
45秒内失败
异常:Gradle任务assembleDebug失败,退出代码为1
最佳答案
我不太确定,但尝试:
buildToolsVersion
文件中的build.gradle
。查看最新的版本并将其设置为最新版本。 如果以上两种方法均无效,请将您的项目保存在存储库中,然后重新下载android studio。
您甚至可以访问此线程,看看是否有任何方法可以解决您的问题:Execution failed for task ':app:compileDebugJavaWithJavac' Android Studio 3.1 Update
关于flutter - 失败:生成失败,发生异常。 *出了什么问题:无法确定任务 ':app:compileDebugJavaWithJavac'的依赖关系,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/64521383/