Is there a way to set app compatibility per androi

2019-05-19 17:43发布

问题:

I have an app that works on Android 2.3.6, but will cause disruptions if deployed on 2.3.3. I will obviously implement some mechanism to stop it from working on such devices, but is there a way to mark an app compatible with 2.3.6 but incompatible with 2.3.3, so the play store and possibly package installer would detect the incompatibilty? (Both versions are API level 10, otherwise this would be easy.)

回答1:

check (String androidOS = Build.VERSION.RELEASE) while starting , then close or take action manually. As far as i know , i think if api levels are same , you cant do it via manifest