将 android 应用程序限制为仅限 armv7 设备 [英] Limit an android app only to armv7 devices

查看:31
本文介绍了将 android 应用程序限制为仅限 armv7 设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我现在正在开发一款在 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?

推荐答案

如果你在 Application.mk 中设置 APP_ABI 只生成 ARM v7 (armeabi-v7a) 兼容库,Android Market/Google Play 应过滤非 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

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆