错误:application配置android:name出错
解决办法:
在AndroidManifest.xml的根标签下加上
xmlns:tools=“http://schemas.android.com/tools”
在application标签下加入
tools:replace=“android:name”
如下所示
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
package="com.***.***">
<application android:name="com.***.***"
android:allowBackup="true"
android:icon="@mipmap/app_icon"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme"
tools:replace="android:name">
</application>
</manifest>