Since I updated two days ago my Android SDK to version API 14 I\'m getting troubles using Eclipse Helios on my Windows 7 x64 laptop.
When I try to export a project e
I found a solution in Window>Preferences>Android>Build by setting "Build output" on Normal and then Project>Clean>Clean All.
I don't know if this is the definitive solution but it made me able to export my apk with the proper .9.png drawable layout.
Hope it helps.
I had this same problem defining a menu item like this:
<item
android:id="@+id/menu_help"
android:showAsAction="never|withText"
android:title="@string/action_label_help"
android:icon="@drawable/ic_menu_help"
/>
I was just missing the icon file ic_menu_help, but instead of giving me a nice message that the image file was missing, it crashes aapt.
I faced the same problem when I tried to add id
as <resources>
as mentioned here.
<resources>
<item type="id" name="button_ok" />
<item type="id" name="dialog_exit" />
</resources>
When I deleted this, the build was successful.