简体   繁体   English

在Project中添加Aursama内核后,AAPT.exe崩溃

[英]AAPT.exe crashed after added the Aursama kernal in Project

I am trying to integrate Aurasma kernal with my android application. 我正在尝试将Aurasma内核与我的android应用程序集成。 I followed the instructions as given in the http://www.aurasma.com/partners/support/Aurasma%20Kernel%20Guidelines.pdf . 我遵循了http://www.aurasma.com/partners/support/Aurasma%20Kernel%20Guidelines.pdf中的说明 The build fails with aapt.exe crashing in the pre-compilation phase. 编译失败,因为aapt.exe在预编译阶段崩溃。

The manifest file has the settings as - minSDKversion: 8 targetSDKversion: 14 清单文件的设置为-minSDKversion:8 targetSDKversion:14

Following are the libraries in my application: 以下是我的应用程序中的库:

android-support-v4.jar facebookSDK.jar FlurryAgent.jar httpclient-4.1.2.jar httpcore-4.1.2.jar httpmime-4.1.2.jar apache-mime4j-core-0.7.jar myttjson-1.7.1.jar scribe-1.1.0.jar trace.jar android-support-v4.jar facebookSDK.jar FlurryAgent.jar httpclient-4.1.2.jar httpcore-4.1.2.jar httpmime-4.1.2.jar apache-mime4j-core-0.7.jar myttjson-1.7.1.jar scribe-1.1.0.jar trace.jar

I found httpmime-4.11.jar and apache-mime4j-0.6.1.jar in aurasma kernal build path. 我在Aurasma内核构建路径中找到了httpmime-4.11.jar和apache-mime4j-0.6.1.jar。 Because of this, I got an error that there are multiple dex files. 因此,我得到一个错误,即有多个dex文件。 I removed these jars from my application's build path. 我从应用程序的构建路径中删除了这些jar。 The issue of multiple dex files is resolved, but Aapt crash remains. 多个dex文件的问题已解决,但Aapt崩溃仍然存在。

Assuming that the problem could be limited to the Windows version of Aapt, I tried it on a Mac. 假定问题可能仅限于Windows版本的Aapt,我在Mac上尝试了该问题。 After nearly the same time and steps, Aapt terminated with an error code 139. 经过几乎相同的时间和步骤,Aapt终止,错误代码为139。

i have changed the Windows > Preference > Andriod > Build > Output to Normal and Verbose but the Aapt crash remains. 我已将Windows>首选项> Andriod>生成>输出更改为Normal和Verbose,但Aapt崩溃仍然存在。

Please help me to resolve this issue 请帮我解决这个问题

我已经解决了这个问题,在我的项目style.xml中,某些样式定义具有android:id,这导致aapt崩溃,在我删除了它的正常工作之后。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM