切换这里就要可以看到报的具体报错内容了
下面的报错是有了相同的打电话权限
Warning Element uses-permission#android.permission.CALL_PHONE at AndroidManifest.xml:58:5-68 duplicated with element declared at
AndroidManifest.xml:45:5-69 app main manifest (this file)
这里报错是在清单文件里有相同的authorities 属性 用'tools:replace="android:authorities" 可以解决
Attribute provider#android.support.v4.content.FileProvider@authorities value=
(com.yun.guanguan.fileProvider) from AndroidManifest.xml:294:13-64 is also present at AndroidManifest.xml:10:19-70 value=(com.yun.guanguan.fileprovider).
Suggestion: add 'tools:replace="android:authorities"' to <provider> element at AndroidManifest.xml:292:9-300:20 to override. app main manifest (this file)
这里的报错是在清单里有了相同的file_paths 用tools:replace="android:resource"可以解决
line 293 Error: Attribute meta-data#android.support.FILE_PROVIDER_PATHS@resource value=(@xml/file_path) from AndroidManifest.xml:299:17-50 is also
present at AndroidManifest.xml:11:75-109 value=(@xml/file_paths). Suggestion: add 'tools:replace="android:resource"' to <meta-data>
element at AndroidManifest.xml:297:13-299:53 to override. app main manifest (this file), line 298