Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No resource identifier found for attribute 'hardwareAccelerated' when building with apache ant

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

like image 702
kruz05 Avatar asked Sep 27 '12 11:09

kruz05


2 Answers

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.

like image 80
alexg Avatar answered Nov 17 '22 19:11

alexg


I declared

   <uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="21" />

in manifest file. It resolved my problem. Hope it help others.

like image 45
Akanksha Rathore Avatar answered Nov 17 '22 20:11

Akanksha Rathore