美文网首页
有关导入aar依赖出现Manifest merger faile

有关导入aar依赖出现Manifest merger faile

作者: zgnzgn | 来源:发表于2020-10-28 11:20 被阅读0次

在manifest文件中加入两行代码即可

<?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools"

 package="com.svse.lyy.rosdemo"> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:roundIcon="@mipmap/ic_launcher_round"

        android:supportsRtl="true"

 tools:replace="android:icon, android:theme"

 android:theme="@style/AppTheme"> <activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application></manifest>

相关文章

网友评论

      本文标题:有关导入aar依赖出现Manifest merger faile

      本文链接:https://www.haomeiwen.com/subject/ysuqvktx.html