Reputation: 256
Problem similar with this one AAPT failing with error code -1073741819
Appt.exe stops with APPCRASH on project build with signature:
Problem Event Name: APPCRASH
Application Name: aapt.exe
Application Version: 0.0.0.0
Application Timestamp: 4e810830
Fault Module Name: msvcrt.dll
Fault Module Version: 7.0.7600.16385
Fault Module Timestamp: 4a5bda6f
Exception Code: c0000005
Exception Offset: 0000d193
OS Version: 6.1.7601.2.1.0.256.1
Locale ID: 2057
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
Messages window in IDE shows android-apt-compiler: Command "C:\Program Files (x86)\Android\android-sdk\platform-tools\aapt.exe package -m --auto-add-overlay --extra-packages %used libraries%" execution failed with exit code -1073741819
I tried to rebuild, clean project, clean IDE cache, add/remove dependencies, restart IDE, reboot computer, reinstall Android SDK platform-tools - nothing helps. Solution provided in related issue also didn't help - I have no @+id in my style.xml.
IDE: Intellij IDEA 12.0.2
Libraries used in project:
As I discovered in Eclipse this problem could be solved by setting Window -> Preferences -> Android -> Build -> Build Output to "Normal" instead of "Verbose". But I cannot find such option in Intellij IDEA.
PS: looks like problem somewhere in the project because other projects (even with libraries) compiles well.
Upvotes: 4
Views: 3547
Reputation: 485
it seems you were missing some entries in strings.xml
in my case I was deleting <string name="action_settings">Settings</string>
thinking it was not used by the project and placing it back solved the issue. You can search for same or similar type of tag in you project.
Upvotes: 1