赞
踩
问题:
“
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
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。