Flutter App is Incompatible With Nearly Everything?

人盡茶涼 提交于 2021-02-08 04:38:31

问题


I have built a Flutter app that works perfectly on my phone, but none of the others I have tried it on. Here's the Git repo.

My problem is that when I try to install from the APK I build, all the devices I'm trying to install it on say that the app is "incompatible." I have tried the app on the following devices:

  • Samsung Galaxy J3
  • Huawei P10
  • Samsung Galaxy Core Prime
  • LG something-or-other

It works on my Samsung Galaxy S8, and the Samsung Galaxy S7. Any and all help is greatly appreciated, as we are in a hurry.


回答1:


Flutter does not care about the model of device. Check if your project's minimum sdk version is higher than the Android version of the device that you try to install the app. It might be the cause of the problem.

Under your Flutter project, go to "android/app" folder. See the minSdkVersion field inside build.gradle file. Compare it with the Android version existing in your device.



来源:https://stackoverflow.com/questions/54818201/flutter-app-is-incompatible-with-nearly-everything

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!