When I build app in the Eclipse, all is ok, but when I try to build with the apache ant, I have got some errors:
[aapt] ...\AndroidManifest.xml:10: error: No resource identifier found for attribute 'hardwareAccelerated' in package 'android'
[aapt] ...\AndroidManifest.xml:23: error: Error: String types not allowed (at 'configChanges' with value 'keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|fontScale').
I use the “uses-sdk” with minSDKVersion=7 (I need to run app on the Android 2.1 devices). When I remove “uiMode|screenSize|smallestScreenSize” values” from “configChanges” and remove “hardwareAccelerated”, then ANT properly complete it’s job, but AdMob do not work properly.
I know, that “uiMode|screenSize|smallestScreenSize” values first introduced in SDK API level 13, but when I use Eclipse to build app, all working good on Android 2.1.
I don’t know what I should do ;(
Try setting the targetSDKVersion to 13?