flutter 项目运行报错Your app isn't using AndroidX.

flutter 项目运行报错Your app isn't using AndroidX.

项目错误

这是因为在项目中没有使用AndroidX,在gradle.properties文件下添加这两行代码

android.enableJetifier=true
android.useAndroidX=true
gradle.properties

你可能感兴趣的:(flutter 项目运行报错Your app isn't using AndroidX.)