ConorG
10/16/2020, 5:53 AMvectorDrawables.useSupportLibrary
. My builds fail in with 4.1 due to issues with
Caused by: org.gradle.api.GradleException: Can't process attribute android:strokeColor="@color/white": references to other resources are not supported by build-time PNG generation. File was preprocessed as vector drawable support was added in Android 5.0 (API level 21) See <http://developer.android.com/tools/help/vector-asset-studio.html> for details.
After some googling, it seems this is the stacktrace that showed when ``vectorDrawables.useSupportLibrary`` wasn’t declared (but it definitely is). Rolling back to 4.0.1 builds fine.BuildConfig.VERSION_NAME
Fixing that issue lead to a successful build eventually. Significant tweet about it, in case anyone missed it:
https://twitter.com/molsjeroen/status/1316680184037355523