aapt.exe崩溃,当我尝试导出我从Eclipse的Andr​​oid应用程序 [英] aapt.exe crashes when I try to export my Android application from Eclipse

查看:155
本文介绍了aapt.exe崩溃,当我尝试导出我从Eclipse的Andr​​oid应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因为我更新了,前两天我的Andr​​oid SDK到版本的API 14我得到在我的Windows 7 X64的笔记本电脑使用Eclipse太阳神的烦恼。

Since I updated two days ago my Android SDK to version API 14 I'm getting troubles using Eclipse Helios on my Windows 7 x64 laptop.

当我尝试导出项目一切正常,直到我得到preSS的完成按钮:那么则会弹出一则说:aapt.exe已停止工作,我不能让我签字的apk;该项目不返回错误,并编译和往常一样。

When I try to export a project everything is ok until I get to press the "finish" button: then a popup appears saying "aapt.exe has stopped working" and I can't get my signed apk; the project doesn't return errors and compiles as usual.

我用Google搜索找到一个解决的方案,我发现过,但没有什么:

I googled to find a solution but nothing of the solutions i found worked:

  • 我清理项目(项目>清洁)
  • 我禁用了自动构建(项目>自动构建)
  • 在我删除了所有导入库(右键单击项目>属性> Java构建路径)
  • 在我更新了所有相关的软件(帮助>检查更新)
  • 在我把logcat的模式冗长
  • 在我删除了我的.9.png可绘制并重新添加到我的项目

这些都是我发现aapt.exe问题相关的解决方案。你有什么其他的建议?

These are all the solutions I found related to aapt.exe issues. Do you have any other suggestion?

PS:我也越来越布局问题,未正确显示我的所有.9.png文件,但我不知道它是否与

PS: I'm also getting a layout issue with all my .9.png files that are not displayed correctly, but I don't know if it's related.

推荐答案

我发现窗口的解决方案> preferences>安卓>通过设置生成输出关于正常,然后项目建设>清洁>全部清除。​​

I found a solution in Window>Preferences>Android>Build by setting "Build output" on Normal and then Project>Clean>Clean All.

我不知道这是否是最终的解决方案,但它让我能够输出我的APK与适当的.9.png绘制布局。

I don't know if this is the definitive solution but it made me able to export my apk with the proper .9.png drawable layout.

希望它帮助。

这篇关于aapt.exe崩溃,当我尝试导出我从Eclipse的Andr​​oid应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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