Android地图API需要OpenGL ES 2.0地图、API、Android、ES

由网友(眉间意难了)分享简介:的地图V2文档状态: 由于谷歌地图Android的API版本2需要OpenGL ES版本2,必须添加<使用特征> 元素的一个孩子在AndroidManifest.xml中体现元素:Because version 2 of the Google Maps Android API requires Open...

的地图V2文档状态:

由于谷歌地图Android的API版本2需要OpenGL ES   版本2,必须添加<使用特征> 元素的一个孩子   在AndroidManifest.xml中体现元素:

Because version 2 of the Google Maps Android API requires OpenGL ES version 2, you must add a <uses-feature> element as a child of the manifest element in AndroidManifest.xml:

<uses-feature   
   android:glEsVersion="0x00020000"  
   android:required="true"/>` 

本通知的外部服务   需求。尤其是,它具有$ P $的pventing谷歌的效果   从不支持设备上显示你的应用程序中播放商店   OpenGL ES的版本2。

This notifies external services of the requirement. In particular, it has the effect of preventing Google Play Store from displaying your app on devices that don't support OpenGL ES version 2.

在事实上,它抛出一个除了如果这不是在清单中。我不希望过滤在店里我的应用程序,我计划继续使用旧地图旧的设备,并且只显示了新的地图,如果需要的功能是present,在运行时,而不是以前的安装。检测

In fact, it throws an exception if this is not in the manifest. I don't want to filter my app in the store, I plan to keep using the old maps for old devices, and only show the new maps if the required features are present, detected at runtime rather than before installation.

那么,如何做到这一点?是否一定要像多个的APK 不同的清单

So how do I do that? Does it have to be something like multiple APKs with different manifests?

推荐答案

最后更新

由于二〇一三年十二月二十零号的,设备的 Android的控制台显示,约100%,现在支持OpenGL 2.0及以上版本所以这个答案已经不再重要。你可能只是需要的OpenGL ES 2.0 +在你的清单。

As of 2013/12/20, the Android Dashboard shows that approximately 100% of devices now support OpenGL 2.0+ so this answer is no longer relevant. You may simply require OpenGL ES 2.0+ in your manifest.

更新

这是固定的为谷歌的第七版的播放服务SDK插件。它是安全的使用&LT;使用特征安卓glEsVersion =0x00020000机器人:要求=FALSE/&GT;

阅读全文

相关推荐

最新文章