Skip to content Skip to sidebar Skip to footer

Segmentation Fault With Aapt

Trying to build and Android project using Maven, we are not able to compile it with google play services apklib with it. I've tried to remove all the languages from the apklib, jus

Solution 1:

The problem we had in code was in style. You cannot use @+id to make reference to any view ( I guess you should not reference any kind of view in your styles, but anyway).

No @+id in your styles.

Solution 2:

Maybe you already solved this problem, but I find out if I don't define in Manifest package like "package=some.app.package" it gave me the same error like you had.

Solution 3:

I had a menu file with unresolved @string reference. I copied the aapt command from the Eclipse Console tab and ran it in a standalone terminal window. I figured out the offending file from the aapt log.

(new resource id mainfrom /home/paller/workspaces/android_dev/xxxxxx/res/menu/main.xml)

Segmentation fault (core dumped)

It does not look nice that aapt just crashes if it does not like something in its input files.

Solution 4:

I just found out that when strings.xml contains %blabla%, aapt segfaults. I have created an issue here: https://code.google.com/p/android/issues/detail?id=68667

Post a Comment for "Segmentation Fault With Aapt"