Flutter build apk fails on an app using Android Gradle plugin 4.0
Steps to Reproduce
flutter create counter
- Update the app to use Android Gradle plugin 4.0.0
flutter build apk
libapp.so libraries containing the app's compiled Dart code are packaged in a JAR, and a different JAR is generated for each variant. I'm not sure how dynamically generated per-variant JARs are supposed to be handled if the lint task expects all variants' JARs to be available.
As a hack workaround, you could change the
app/build.gradle to disable the lint task:
The pipeline passed successfully!!!