aapt.exe抛出未处理的异常,同时建立* .apk文件的Andr​​oid项目在Eclipse [英] aapt.exe is throwing unhandled exception while building *.apk file for Android project in Eclipse

查看:116
本文介绍了aapt.exe抛出未处理的异常,同时建立* .apk文件的Andr​​oid项目在Eclipse的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚升级我的系统冰淇淋三明治(Android 4.0的),现在每次我试图在调试器中运行我的应用程序,我得到了 aapt.exe 崩溃

i just upgraded my system to Ice Cream Sandwich (Android 4.0) and now everytime I attempt to run my application in the debugger, I get a crash in aapt.exe.

如果我只是建立,它建立很好,但是当我去到调试器中运行, aapt.exe 崩溃(会弹出一个对话框,询问我是否我想将数据发送给Microsoft)和 Project_Explorer 我的项目图标显示,它的主要错误(S)。

If I just build, it builds fine, but when I go to run it in the debugger, aapt.exe crashes (which pops up a dialog and asks me if I want to send data to Microsoft) and my project icon in Project_Explorer shows that it has error(s).

推荐答案

有在AAPT为R15的已知问题,请尝试更改构建输出正常

http://tool​​s.android.com/knownissues

AAPT在Windows崩溃在某些情况下,当生成输出设置为详细。

There is a known issue in AAPT for r15, try to change the build output to normal
http://tools.android.com/knownissues
AAPT crashes on Windows in some cases when the build output is set to verbose.

的解决方法是设置

的Eclipse GT&; preferences> Android和GT;构建与GT;构建输出

要小于详细,例如Normal.We有一个解决方法,这将是可用的工具16. [发行20395 ]

to less than Verbose, e.g. Normal.We have a fix, which will be available in tools 16. [Issue 20395]

这篇关于aapt.exe抛出未处理的异常,同时建立* .apk文件的Andr​​oid项目在Eclipse的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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