美文网首页
Manifest merger failed : Attribu

Manifest merger failed : Attribu

作者: sunny635533 | 来源:发表于2019-01-17 19:47 被阅读8次

    for fix the confilct: android:appComponentFactory in support-appcompat and androidx.core jar

     See this: https://developer.android.com/jetpack/androidx/#new-project

    solved: set these in gradle.properties,

    android.useAndroidX=true

    android.enableJetifier=true

    #When set to true, the Android plugin uses the appropriate AndroidX library instead of a Support Library. The flag is false by default if it is not specified.

    android.useAndroidX=true

    #When set to true, the Android plugin automatically migrates existing third-party libraries to use AndroidX by rewriting their binaries. The flag is false by default if it is not specified.

    android.enableJetifier=true

    相关文章

      网友评论

          本文标题:Manifest merger failed : Attribu

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