Tired of dealing with Gradle and other build errors on Android? 🤮

Me too! So, I built a script to fix it all at once:

  • Gradle version
  • Java version
  • NDK version
  • Min SDK
  • Target SDK

The result? Faster updates and fewer headaches. 👍

Script to Update the Android Project Settings

You can grab the script here:

To use it:

  • Download the script and add it to a folder in your system PATH
  • Give it execution access: chmod +x update-android-project.sh
  • Tweak the versions if needed
  • Run it from the root of your Flutter project

Some notes:

Happy coding!