I developed an app in flutter with Visual Studio code on Windows. When i ran the project it shows a message,
Your app isn't using AndroidX.
To avoid potential build failures, you can quickly migrate your app by following the steps on https://goo.gl/CP92wY.
But the App is running, and error came when generating the Android project study and its APK on with flutter. So the Solution is :-
Step 1. Go to Android folder of your project.
Step 2. Open
Step 3. Paste the Below Code in the file.
That’s All. Your project is successfully migrated into androidX.
Want to Know more about androidX, See Documentation.
Thanks for Reading.
- [SOLVED] Flutter : PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null) - December 7, 2021
- [Solved] Flutter : Error: The getter ‘subhead’ isn’t defined for the class ‘TextTheme’ from package:flutter/src/material/text_theme.dart’ – searchable_dropdown - December 6, 2021
- [SOLVED] Flutter Error: The getter ‘body1’ isn’t defined for the class ‘TextTheme’ – place_picker. - December 6, 2021