我在构建移动的/ android flutter应用程序时遇到了这个问题,请帮助。名称空间是必需的,但在firebase_core库中不存在。如何禁用IDE以不验证库的名称空间?:
[ ] Using default execution profile
[ ] Could not execute [class org.jetbrains.kotlin.gradle.plugin.statistics.KotlinBuildStatHandler.buildFinished]
[ +4 ms] FAILURE: Build failed with an exception.
[ +4 ms] * What went wrong:
[ ] A problem occurred configuring project ':firebase_core'.
[ ] > Could not create an instance of type com.android.build.api.variant.impl.LibraryVariantBuilderImpl.
[ ] > Namespace not specified. Please specify a namespace in the module's build.gradle file like so:
[ ] android {
[ ] namespace 'com.example.namespace'
[ ] }
[ ] If the package attribute is specified in the source AndroidManifest.xml, it can be migrated automatically to the namespace value in the build.gradle file using the AGP Upgrade Assistant; please refer to https://developer.android.com/studio/build/agp-upgrade-assistant for more information.
[ ] * Try:
[ ] > Run with --debug option to get more log output.
[ ] > Run with --scan to get full insights.
[ +1 ms] * Exception is:
[ ] org.gradle.api.ProjectConfigurationException: A problem occurred configuring project ':firebase_core'
1条答案
按热度按时间hpcdzsge1#
已降级以使用此
如下图所示:flutterfire issue 10094