Closed stephg closed 2 years ago
thanks, published as 4.0.1
. Maybe you could give it a try.
@hpoul still have a same bug in version 4.0.1 with gradle version 17.0.2
adding android.jetifier.blacklist=moshi-1.13.0
to gradle.properties fixed my problem.
adding
android.jetifier.blacklist=moshi-1.13.0
to gradle.properties fixed my problem.
It worked, but what are the consequences of this?
@Samin-youki suggestions works, but you have to make sure you update the moshi dependency for any local libraries using it too.
also..2
Currently
android.jetifier.blacklist
is deprecated.It was removed in version 7.0 of the Android Gradle plugin. This property has been replaced by
android.jetifier.ignorelist
After upgrading our Flutter gradle-build to kotlin 1.6 (along with android-gradle-plugin 7.0+ and openjdk 17), assembling the app fails with this error:
After some googling, the upstream issue is this: https://github.com/square/moshi/issues/1433 So I updated
moshi
to1.13.0
and verified the issue is solved.