Skip to content Skip to sidebar Skip to footer

This Project Uses Androidx Dependencies,but The 'android.useandroidx' Property Is Not Enabled

I have updated my android build.gradle to latest version now i am getting an error. I have searched answers regarding this here(stackover flow),but none work for me . my build.grad

Solution 1:

Try this solution go to :

Refactor -> Refactor this -> Migrate to Androidx -> click migrate , then a pop up message will show up to ask you if you want to save a copy of the project by ticking that checkbox ( up to you ) --> then do refactor

Solution 2:

You might have migrated to android x manually

Try using built in migrator https://developer.android.com/jetpack/androidx/migrate

Just right click , then go to refractor> migrate to AndroidX

Post a Comment for "This Project Uses Androidx Dependencies,but The 'android.useandroidx' Property Is Not Enabled"