flutter running gradle task assembledebug long time

114

/* I Solved these problems by changing minSdkVersion and targetSdkVersion.
For my case is change minSdkVersion to 26 and targetSdkVersion to 30 
*/
1.Go to file You_project_name/android/app/build.gradle
2.Find defaultConfig
3.Change minSdkVersion to 26 and change targetSdkVersion to 30 (sdkversion - https://developer.android.com/guide/topics/manifest/uses-sdk-element)
4.Open terminal type the command 'flutter clean' and 'flutter run'

Comments

Submit
0 Comments