小编Ker*_*ord的帖子

gradle 错误链接到 build.gradle 文件上的命名空间

我一直有这个错误,但我已经做了他们要求我做的事情。

这是错误:

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':audio_service'.
> 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 …
Run Code Online (Sandbox Code Playgroud)

android gradle dart flutter

5
推荐指数
1
解决办法
5106
查看次数

标签 统计

android ×1

dart ×1

flutter ×1

gradle ×1