diff --git a/dev/integration_tests/pure_android_host_apps/android_host_app_v2_embedding/README.md b/dev/integration_tests/pure_android_host_apps/android_host_app_v2_embedding/README.md index 8c8ad260dc..6f3df6b413 100644 --- a/dev/integration_tests/pure_android_host_apps/android_host_app_v2_embedding/README.md +++ b/dev/integration_tests/pure_android_host_apps/android_host_app_v2_embedding/README.md @@ -5,4 +5,4 @@ Android host app for a Flutter module created using $ flutter create -t module hello ``` and placed in a sibling folder to (a clone of) the host app. -Used by the `module_test.dart` device lab test. +Used by the `build_android_host_app_with_module_aar.dart` device lab test. diff --git a/dev/integration_tests/pure_android_host_apps/android_host_app_v2_embedding/app/build.gradle b/dev/integration_tests/pure_android_host_apps/android_host_app_v2_embedding/app/build.gradle index fee774a0c7..518a685691 100644 --- a/dev/integration_tests/pure_android_host_apps/android_host_app_v2_embedding/app/build.gradle +++ b/dev/integration_tests/pure_android_host_apps/android_host_app_v2_embedding/app/build.gradle @@ -6,7 +6,7 @@ apply plugin: 'com.android.application' android { namespace = "io.flutter.add2app" - compileSdk 34 + compileSdk = 35 // Flutter's CI installs the NDK at a non-standard path. // This non-standard structure is initially created by @@ -18,14 +18,14 @@ android { } compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 + sourceCompatibility JavaVersion.VERSION_17 + targetCompatibility JavaVersion.VERSION_17 } defaultConfig { applicationId "io.flutter.add2app" - minSdkVersion 21 - targetSdkVersion 34 + minSdk = 21 + targetSdk = 35 versionCode 1 versionName "1.0" } diff --git a/docs/contributing/Android-API-And-Related-Versions.md b/docs/contributing/Android-API-And-Related-Versions.md index a1df1d46fd..a8cd1b01e4 100644 --- a/docs/contributing/Android-API-And-Related-Versions.md +++ b/docs/contributing/Android-API-And-Related-Versions.md @@ -24,14 +24,14 @@ If the versions chosen are not known by [gradle_utils.dart](https://github.com/f ``` // OK android { - compileSdk flutter.compileSdkVersion + compileSdk = flutter.compileSdkVersion } ``` ``` // OK if flutter.compileSdkVersion is not available like in an add to app example. android { - compileSdk 35 + compileSdk = 35 } ``` @@ -53,14 +53,14 @@ android { ``` // OK defaultConfig { - targetSdk flutter.targetSdkVersion + targetSdk = flutter.targetSdkVersion } ``` ``` // OK if flutter.compileSdkVersion is not available like in an add to app example. defaultConfig { - targetSdk 35 + targetSdk = 35 } ```