当前位置:   article > 正文

Namespace not specified. Please specify a namespace in the module‘s build.gradle file like so:andr

namespace not specified. please specify a namespace in the module's build.gr

 

问题:

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.

在module的build:gradle里,

dependencies {
。。。
}

 namespace 'com.example.XXX’和 applicationId "com.example.XXX"的“XXX”改成project的namespace 'com.example.XXX’和 applicationId “com.example.XXX”里的"XXX"
————————————————
参考:
原文链接:https://blog.csdn.net/qq_29862247/article/details/131088532

声明:本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:【wpsshop博客】
推荐阅读
相关标签
  

闽ICP备14008679号