[SOLVED] Error: Your app isn’t using AndroidX.

DevOps

MOTOSHARE 🚗🏍️
Turning Idle Vehicles into Shared Rides & Earnings

From Idle to Income. From Parked to Purpose.
Earn by Sharing, Ride by Renting.
Where Owners Earn, Riders Move.
Owners Earn. Riders Move. Motoshare Connects.

With Motoshare, every parked vehicle finds a purpose. Owners earn. Renters ride.
🚀 Everyone wins.

Start Your Journey with Motoshare

I used Windows’ Visual Studio Code to create a flutter app. When I run the project, a notice appeared saying,

AndroidX is not used by your app.
You may easily migrate your app by following the instructions on https://goo.gl/CP92wY to prevent any build failures.

However, while creating the Android project study and its APK with Flutter, an error occurred. So here is the answer:

Step 1. Go to Android folder of your project.

Step 2. Open gradle.properties File.

Step 3. Paste the Below Code in the file.

android.useAndroidX=true
android.enableJetifier=true

Subscribe
Notify of
guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x