Member-only story
Old Flutter project not working since flutter upgrade? :(
May 23, 2022
I was confused too. Just hang in there and keep reading!
The solution is simple. You have to edit two files:
- [your_project_folder]\android\app\build.gradle
- [your_project_folder]\android\build.gradle
[your_project_folder]\android\app\build.gradle
Update the compileSdkVersion from 30 to 31 as shown below.
[your_project_folder]\android\build.gradle
Update ext.kotlin_version to 1.5.0 as shown in figure 2.
Run and resolve if there are any errors related to your code. Otherwise, you are good to go!
Thank you for reading. Please support by leaving claps and sharing with your network.
Your support is appreciated!
Happy coding!