flutter/packages/flutter_tools/test/general.shard/android
Zachary Anderson 6a6874ecf9
Update Android minSdkVersion to 21 (#142267)
This PR increases Android's `minSdkVersion` to 21.

There are two changes in this PR aside from simply increasing the number
from 19 to 21 everywhere.

First, tests using `flutter_gallery` fail without updating the
lockfiles. The changes in the PR are the results of running
`dev/tools/bin/generate_gradle_lockfiles.dart` on that app.

Second, from
[here](https://developer.android.com/build/multidex#mdex-pre-l):
> if your minSdkVersion is 21 or higher, multidex is enabled by default
and you don't need the multidex library.

As a result, the `multidex` option everywhere is obsolete. This PR
removes all logic and tests related to that option that I could find.
`Google testing` and `customer_tests` pass on this PR, so it seems like
this won't be too breaking if it is at all. If needed I'll give this
some time to bake in the framework before landing the flutter/engine
PRs.

Context: https://github.com/flutter/flutter/issues/138117,
https://github.com/flutter/flutter/issues/141277, b/319373605
2024-01-29 09:49:09 -08:00
..
adb_log_reader_test.dart Remove outdated ignores from tool (#140467) 2023-12-20 22:14:32 +00:00
android_device_discovery_test.dart Separate attached and wireless devices (#122615) 2023-03-15 16:35:05 +00:00
android_device_port_forwarder_test.dart add missing trailing commas in list/set/map literals (#102585) 2022-04-27 09:15:35 +02:00
android_device_start_test.dart Add --trace-to-file option to flutter run (#135713) 2023-10-12 13:23:52 -04:00
android_device_test.dart Make AndroidApk nullable in stopApp. (#113353) 2022-10-13 17:03:57 +00:00
android_emulator_test.dart add missing trailing commas in list/set/map literals (#102585) 2022-04-27 09:15:35 +02:00
android_gradle_builder_test.dart Update Android minSdkVersion to 21 (#142267) 2024-01-29 09:49:09 -08:00
android_install_test.dart [tool] Install the corresponding APK in flutter run (#113622) 2022-10-19 02:44:30 +00:00
android_project_migration_test.dart Update Android minSdkVersion to 21 (#142267) 2024-01-29 09:49:09 -08:00
android_sdk_test.dart Native assets support for Android (#135148) 2023-12-07 16:29:11 +00:00
android_studio_test.dart Fixed few typos (#141543) 2024-01-16 21:40:08 +00:00
android_studio_validator_test.dart [tool] In flutter doctor -v, warn when Android Studio version could not be detected. (#126395) 2023-06-01 14:51:30 +00:00
android_workflow_test.dart In flutter doctor -v, when JRE is too out-of-date to run sdkmanager, print a helpful error message (#138762) 2023-11-21 23:16:08 +00:00
build_validation_test.dart Migrate more tool unit tests to null safety (#80002) 2021-04-08 15:18:52 -07:00
deferred_components_gen_snapshot_validator_test.dart Revert "Speed up first asset load by encoding asset manifest in binary rather than JSON (#113637)" (#116662) 2022-12-07 17:29:05 +00:00
deferred_components_prebuild_validator_test.dart Fix typos (#121171) 2023-02-23 19:43:21 +00:00
gradle_errors_test.dart Update Android minSdkVersion to 21 (#142267) 2024-01-29 09:49:09 -08:00
gradle_find_bundle_test.dart [Android] Bump template & integration test Gradle version to 7.6.4 (#139276) 2023-12-07 18:31:20 +00:00
gradle_test.dart Stop recommending android sdk root (#136296) 2023-10-11 21:04:59 +00:00
gradle_utils_test.dart Fixed few typos (#141543) 2024-01-16 21:40:08 +00:00
java_test.dart have Java.version return null if java --version fails or cannot be run (#139614) 2023-12-06 23:13:17 +00:00
native_assets_test.dart Reapply "Native assets: roll deps" (#141748) (#141864) 2024-01-22 10:42:15 +00:00
template_test.dart Adding 'is' to list of kotlin reserved keywords (#116299) 2023-01-06 00:10:07 +00:00