Segmentation error using aapt

Trying to create an Android project using Maven, we cannot compile it using apklib google play services.

I tried to remove all languages ​​from apklib, just keeping the default value, and it seems like it can execute the aapt command without any problems.

Anyone facing this problem? I tried to do what Jake Wharton says on this website: https://github.com/JakeWharton/gms-mvn-install , but the Segmentation error still occurs.

Ideas?

Thank you for your time.

aapt: warning: the string 'error_generic_text_toast' does not have a default translation in / Users / fjfernandez / Development / android -messenger / app / target / unpack / apklibs / com.google.android.gms_google-play-services_apklib_5 / res; found: ca_ES cs de en eu_ES fr gl_ES it nl pt pt_PT sk Segmentation error: 11

+4
source share
4 answers

The problem we had in the code was in style. You cannot use @ + id to refer to any view (I think you should not refer to any view in your styles, but anyway).

No @ + id in your styles.

+3
source

You may have already solved this problem, but I’ll find out if I didn’t define “package = some.app.package” in the manifest package, it gave me the same error as you.

+1
source

I had a menu file with an unresolved @string link. I copied the aapt command from the Eclipse Console tab and ran it in a separate terminal window. I found out the file with aapt log violation.

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

Segmentation error (kernel flushing)

It doesn't seem pleasant that aapt just crashes if he doesn't like something in his input files.

0
source

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

0
source

All Articles