@@ -21,7 +21,7 @@ incompatible with each other. Gradle will crash when trying to build APKs that
2121use both sets of libraries.
2222
2323Some Flutter plugins have been migrated to AndroidX after originally using the
24- original suport libraries. Flutter apps that aren't compatible with AndroidX
24+ original support libraries. Flutter apps that aren't compatible with AndroidX
2525will fail to compile when using the latest version of these plugins.
2626
2727# Fixing AndroidX crashes in a Flutter app
@@ -48,29 +48,31 @@ libraries.
4848 some plugins that are still on the previous old support library. If your app
4949 depends on plugins that are using the old ` android.support ` packages, you'll
5050 need to [ avoid AndroidX] ( #avoiding-androidx ) instead.
51- {{site.alert.note }}
51+ {{site.alert.end }}
5252
5353First make sure that ` compileSdkVersion ` is at least ` 28 ` in ` app/build.gradle ` .
5454This property controls the version of the Android SDK that Gradle uses to build
5555your APK. It doesn't affect the minimum SDK version that your app can run on.
56- [ More info here.] ( https://developer.android.com/studio/build/#module-level )
56+ See the Android developer docs on [ "The module-level build
57+ file"] ( https://developer.android.com/studio/build/#module-level ) for more
58+ information.
5759
5860### Recommended: Use Android Studio to migrate your app
5961
6062This requires the latest version of Android Studio.
6163
62- 1 . Follow the instructions on [ this
63- page] ( https://flutter.io/docs/development/tools/android-studio#android-ide )
64- for importing a Flutter app into Android Studio so that the IDE can parse the
65- Android code.
66- 2 . Follow the instructions on [ this
67- page] ( https://developer.android.com/jetpack/androidx/migrate ) for migrating
68- an app to AndroidX automatically using Android Studio.
64+ 1 . Import your Flutter app into Android Studio so that the IDE can parse the
65+ Android code following the steps at [ "Editing Android code in Android Studio
66+ with full IDE
67+ support"] ( https://flutter.io/docs/development/tools/android-studio#android-ide ) .
68+ 2 . Then follow the instructions on [ "Migrating to
69+ AndroidX"] ( https://developer.android.com/jetpack/androidx/migrate ) .
6970
7071### Not recommended: Manually migrate your app
7172
72- See [ this page] ( https://developer.android.com/jetpack/androidx/migrate ) for
73- detailed instructions on how to do this.
73+ See [ "Migrating to
74+ AndroidX"] ( https://developer.android.com/jetpack/androidx/migrate ) for detailed
75+ instructions on how to do this.
7476
7577## Avoiding AndroidX
7678
@@ -136,4 +138,4 @@ some additional concerns and some slight changes.
1361382 . Plugin code can be automatically migrated with Android Studio the same way
137139 that Flutter app code can be. Import the ` plugin_root/example ` app into the
138140 IDE as if it's a regular Flutter app. Android Studio will also import and
139- parse the plugin's Android code.
141+ parse the plugin's Android code.
0 commit comments