未发现属性“hardwareAccelerated”使用Apache Ant构建时资源标识符 [英] No resource identifier found for attribute 'hardwareAccelerated' when building with apache ant

查看:153
本文介绍了未发现属性“hardwareAccelerated”使用Apache Ant构建时资源标识符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序针对Android的API 7级(2.1)和Eclipse下的所有工作的好(导致APK也能正常工作在2.1的设备)。我尝试与Apache Ant构建应用程序,并得到这个错误。所有对同一问题的解决方案,告诉我,我必须将另一个目标API级别。

My app targeted to the android API level 7 (2.1) and under the Eclipse all work good (resulting APK also works fine on the 2.1 devices). I try to build app with the apache ant and got this error. All of the solutions for the same problems tells me that I must set another target API level.

我想简单的忽略这个属性的表现 - 因为我发现,在旧的设备,它只是忽略了没有任何错误

I want to simple ignore this attribute in manifest - as I find, in old devices it just ignored without any errors

推荐答案

我不认为这是可能有硬件加速API比11的检查此处获取更多信息。

I don't think it's possible to have hardware acceleration with API level less than 11. Check here for more info.

您最好的选择是简单地删除您的清单硬件加速的属性。

Your best bet is to simply remove hardware acceleration attributes from your manifest.

这篇关于未发现属性“hardwareAccelerated”使用Apache Ant构建时资源标识符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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