• Zachary Anderson's avatar
    Update Android minSdkVersion to 21 (#142267) · 6a6874ec
    Zachary Anderson authored
    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
    6a6874ec
Name
Last commit
Last update
..
abstract_method_smoke_test Loading commit data...
android_custom_host_app Loading commit data...
android_embedding_v2_smoke_test Loading commit data...
android_host_app/.gradle Loading commit data...
android_host_app_v2_embedding Loading commit data...
android_module_host_with_custom_build_v2_embedding/app/src/main/java/io/flutter/addtoapp Loading commit data...
android_semantics_testing Loading commit data...
android_verified_input Loading commit data...
android_views Loading commit data...
channels Loading commit data...
deferred_components_test Loading commit data...
external_textures Loading commit data...
flavors Loading commit data...
flutter_gallery Loading commit data...
gradle_deprecated_settings Loading commit data...
hybrid_android_views Loading commit data...
ios_add2app_life_cycle Loading commit data...
ios_app_with_extensions Loading commit data...
ios_host_app Loading commit data...
ios_host_app_swift Loading commit data...
ios_platform_view_tests Loading commit data...
module_host_with_custom_build/.gradle Loading commit data...
module_host_with_custom_build_v2_embedding Loading commit data...
non_nullable Loading commit data...
platform_interaction Loading commit data...
release_smoke_test Loading commit data...
spell_check Loading commit data...
ui Loading commit data...
web Loading commit data...
web_compile_tests Loading commit data...
web_e2e_tests Loading commit data...
wide_gamut_test Loading commit data...
windows_startup_test Loading commit data...
README.md Loading commit data...