问题:
Incorrect package="com.example.test" found in source AndroidManifest.xml: D:\AndroidStudioProjects\CF\app\src\main\AndroidManifest.xml.
Setting the namespace via the package attribute in the source AndroidManifest.xml is no longer supported.
Recommendation: remove package="com.example.test" from the source AndroidManifest.xml: D:\AndroidStudioProjects\CF\app\src\main\AndroidManifest.xml.
解决:
步骤一:
将AndroidManifest.xml中的package删掉,高版本不支持在AndroidManifest.xml加入package
步骤二:
在build.gradle的命名空间中加入包的路径