分段故障与AAPT [英] Segmentation fault with aapt

查看:136
本文介绍了分段故障与AAPT的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

试图建立和使用Maven Android项目,我们都无法与谷歌发挥服务apklib用它来编译它。

Trying to build and Android project using Maven, we are not able to compile it with google play services apklib with it.

我试图从apklib删除所有的语言,只是保持默认之一,它似乎能没​​有问题,执行AAPT。

I've tried to remove all the languages from the apklib, just keeping the default one, and it seems to be able to execute aapt with no problems.

有谁遇到这个问题?我一直试图做什么杰克沃顿说,在这个网站: https://github.com/JakeWharton / GMS-MVN安装,但分割故障依旧发生。

Does anybody run into this problem? I've tried to do what Jake Wharton says in this website: https://github.com/JakeWharton/gms-mvn-install , but the Segmentation fault still happening.

想法?

感谢您的时间。

AAPT:警告:字符串'error_generic_text_toast'在没有默认翻译/Users/fjfernandez/Development/android-messenger/app/target/unpack/apklibs/com.google.android.gms_google-play-services_apklib_5/res;发现:ca_ES CS去连接eu_ES FR gl_ES IT NL PT PT_​​PT SK
段故障:11

aapt: warning: string 'error_generic_text_toast' has no 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 fault: 11

推荐答案

我们code的问题是风格。不能使用@ + id来明确提及任何观点(我想你不应该引用任何一种观点在你的风格,但无论如何)。

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).

否@ + ID 在你的风格。

这篇关于分段故障与AAPT的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆