Android开发升级项目报Namespace not specified
报错日志:
Namespace not specified. Specify a namespace in the module's build file: C:\Users\Administrator\Desk
就是9.0新版Android Studio需要在build.gradle里面添加Namespace。
示例代码:
android {
namespace 'com.cong.mydel'
注意:每个module的build.gradle都需要namespace,namespace是和你module的AndroidManifest的package一样,而不是都是app下的包名。