🚀 DevOps Certified Professional
📅 Starting: 1st of Every Month 🤝 +91 8409492687 | 🤝 +1 (469) 756-6329 🔍 Contact@DevOpsSchool.com

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

DevOps

Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

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
()
x