所以我一直在互联网上到处寻找这个错误,但我找不到任何解决方案。
我几乎什么都试过了:
所以经过 2 天的尝试,我决定与你们联系,并询问你们是否有任何解决方案:
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:processDebugManifest'.
> Failed to query the value of task ':app:processDebugManifest' property 'mainMergedManifest'.
Could not create task ':app:processDebugMainManifest'.
java.lang.NullPointerException (no error message)
答案 0 :(得分:0)
这是一个有多种可能性的一般错误。然而,这一切都取决于您如何配置您的 Android 应用程序。在将 Firebase 与我的应用集成时,我主要遇到了这类问题。
对于这种情况,您可以尝试执行以下步骤以确保获得正确的配置:
google()
、maven()
等。或者 classpath 'com.google.gms:google-services:4.0.1'
Flutter clean
并重新构建应用