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
The only solution is what you have mentioned, i.e -dontwarn android.support.v4.**
. This is actually taken from the <path-to-android-sdk>/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.**
It is safe to set don't warn for the support library classes according to the Android team. You can do this via:
## Support library
-dontwarn android.support.**