Skip to content

Latest commit

 

History

History
83 lines (56 loc) · 2.37 KB

File metadata and controls

83 lines (56 loc) · 2.37 KB

Script to Update the Android Project Settings

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. 👍


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

⚠️ Heads up: The script may not work perfectly for older Android projects.

If your Android project is very old, the best fix is to nuke it and create it again with the Flutter CLI, as described here:


Previous Next
Error.throwWithStackTrace Downloads Count on pub.dev