简体   繁体   English

将Android应用程序仅限于armv7设备

[英]Limit an android app only to armv7 devices

I am now developing a game which runs fine on the ARM v7 devices, but there are problems with the ARM v6 devices. 我现在正在开发一款可以在ARM v7设备上正常运行的游戏,但是ARM v6设备存在问题。 Is there a way to limit the game only for ARM v7 devices? 有没有一种方法只能将游戏限制在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. 如果您在Application.mk中将APP_ABI设置为仅生成与ARM v7( armeabi-v7a )兼容的库,则Android Market / Google Play应该过滤掉非ARM v7设备, armeabi-v7a无法查看您的应用程序。

APP_ABI := armeabi-v7a

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. 如果您的应用程序中没有本机部分,您仍然可以创建一个简单的存根库以在Google Play中进行过滤。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM