I have built an application using sharedpreferences so i could track who is logged in and logged out the app, but some reason, when i run the command "flutter run --release" it is giving off this error, I know one of them is referring directly to how I am using SharedPreferences, but I don't know how to fix it. Could some please help me?
Asked
Active
Viewed 487 times
2 Answers
1
Did you try this?
flutter clean
then try this your command. If the problem isn't solved let me know

NiiLx
- 606
- 7
- 18
0
First run android folder in your project with android studio and sync it.
And try to change the compileSdkVersion to:
compileSdkVersion 28
or upper
And to get more information you can see this posts : this a,d this

Cyrus the Great
- 5,145
- 5
- 68
- 149
-
Could you please explain how to do thiS? – Michael Cabusas Apr 09 '20 at 09:40
-
In your project folder there are lib,android and ios and ... open this android folder with your android studio @MichaelCabusas – Cyrus the Great Apr 09 '20 at 10:23