when i compile android program in Eclipse4.3 kepler with SDK version 22.3 API level 19 than it throws an error as aapt.exe has stopped working log shows this Problem signature:
Problem Event Name: APPCRASH
Application Name: aapt.exe
Application Version: 0.0.0.0
Application Timestamp: 52684cb5
Fault Module Name: aapt.exe
Fault Module Version: 0.0.0.0
Fault Module Timestamp: 52684cb5
Exception Code: c0000005
Exception Offset: 0003cf2a
OS Version: 6.2.9200.2.0.0.768.101
Locale ID: 16393
Additional Information 1: 5861
Additional Information 2: 5861822e1919d7c014bbb064c64908b2
Additional Information 3: dac6
Additional Information 4: dac6c2650fa14dd558bd9f448e23afd1 Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=190175 If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-GB\erofflps.txt
please guys help me out from this i can't even compile hello world!!!!
Also there is can be problem with incorrect menu option
<item
android:id="@+id/action_grid"
android:icon="@drawable/ic_grid"
android:title="Grid"
android:showAsAction="true">
in my case an icon in drawable
was absent. Eclipse
doesn't notify about this. Check carefully this moment!
In eclipse, I do this to solve it:
Windows > Preferences > Android > Build > Build Ouput > Select "Verbose"
Select Project > Clean > OK
Select Project > Build All
Select "Console" output.
You may have to flip from DDBMS to Android here, mine flips back and forth. In the Android Console you will see the exact XML discrepancy causing the problem.
For me, it seems to be a problem with Android SDK Build Tools 19 so I downgraded to an older version, 18.1.1 in my case.
In my case the problem was due to missing xmlns attributes for namespace prefixes used in a manually created menu file. In my case these prefixes were app:, tools: and context:. I used NetBeans Check XML feature to find and fix the syntax issues in my Android XML files. Here is how:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With