Proguard configuration for Android Support v4 22.2.0

前端 未结 2 1515
时光说笑
时光说笑 2021-02-05 06:32

After updating dependencies on Gradle Android build to use com.android.support:support-v4:22.2.0 from local Maven extras repository (within SDK), Proguard started t

2条回答
  •  孤街浪徒
    2021-02-05 06:56

    The only solution is what you have mentioned, i.e -dontwarn android.support.v4.**. This is actually taken from the /tools/proguard/proguard-android.txt, where it says:

    # The support library contains references to newer platform versions.
    # Don't warn about those in case this app is linking against an older
    # platform version.  We know about them, and they are safe.
    -dontwarn android.support.**
    

提交回复
热议问题