限制Android应用只有ARMv7的设备 [英] Limit an android app only to armv7 devices
问题描述
我现在开发运行于ARM V7设备精游戏,但也有与ARM V6设备上的问题。有没有办法来限制游戏只为ARM V7设备?
I am now developing a game which runs fine on the ARM v7 devices, but there are problems with the ARM v6 devices. Is there a way to limit the game only for ARM v7 devices?
推荐答案
如果您设置 APP_ABI
在 Application.mk
刚刚产生ARM V7( armeabi-V7A
)兼容库, Android电子市场
/ 谷歌播放
应该看到您的应用程序过滤非ARM v7的设备。
If you set APP_ABI
in Application.mk
to just produce ARM v7 (armeabi-v7a
) compatible libraries, Android Market
/ Google Play
should filter non ARM v7 devices from seeing your application.
APP_ABI := armeabi-v7a
如果你没有在你的应用程序中的本地部分,仍然可以创建一个简单的存根库来获得在谷歌Play筛选。
If you don't have a native part in your application, you can still create a simple stub library to get filtering in the Google Play.
这篇关于限制Android应用只有ARMv7的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!