问题
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