compileSdkVersion、minSdkVersion、targetSdkVersion、ndkVersion
新版 SDK在下面这个目录的文件中
/Users/rick/fvm/versions/3.32.6/packages/flutter_tools/gradle/src/main/kotlin/FlutterExtension.kt
/** Sets the compileSdkVersion used by default in Flutter app projects. */
val compileSdkVersion: Int = 35
/** Sets the minSdkVersion used by default in Flutter app projects. */
val minSdkVersion: Int = 21
/**
* Sets the targetSdkVersion used by default in Flutter app projects.
* targetSdkVersion should always be the latest available stable version.
*
* See https://developer.android.com/guide/topics/manifest/uses-sdk-element.
*/
val targetSdkVersion: Int = 35
/**
* Sets the ndkVersion used by default in Flutter app projects.
* Chosen as default version of the AGP version below as found in
* https://developer.android.com/studio/projects/install-ndk#default-ndk-per-agp.
*/
val ndkVersion: String = "26.3.11579264"
旧版本SDK的在下面这个文件中
/Users/rick/fvm/versions/3.24.2/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy
/** Sets the compileSdkVersion used by default in Flutter app projects. */
public final int compileSdkVersion = 34
/** Sets the minSdkVersion used by default in Flutter app projects. */
public final int minSdkVersion = 21
/**
* Sets the targetSdkVersion used by default in Flutter app projects.
* targetSdkVersion should always be the latest available stable version.
*
* See https://developer.android.com/guide/topics/manifest/uses-sdk-element.
*/
public final int targetSdkVersion = 34
/**
* Sets the ndkVersion used by default in Flutter app projects.
* Chosen as default version of the AGP version below as found in
* https://developer.android.com/studio/projects/install-ndk#default-ndk-per-agp.
*/
public final String ndkVersion = "23.1.7779620"