5

I just upgrade my flutter sdk to latest version which is 2.8 and created new project and I don't see old way of changing minimum and tarketVersion sdk instead I can see

 minSdkVersion flutter.minSdkVersion
 targetSdkVersion flutter.targetSdkVersion   

Question is What is the best way or recommended approach here,where can I find folder/file (flutter.) in project.

codingwithtashi
  • 1,431
  • 1
  • 16
  • 25
  • 1
    check out this https://stackoverflow.com/questions/52060516/how-to-change-android-minsdkversion-in-flutter-project/70316521#70316521 – Jahidul Islam Dec 17 '21 at 16:25

1 Answers1

-2

You can change the minSdkVersion in the file Project_Name/android/app/build.gradle , defaultconfig :

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.projectname"
minSdkVersion 16 // <--- There
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
RsD
  • 53
  • 1
  • 10