aapt.exe崩溃,当我尝试导出我从Eclipse的Andr​​oid应用程序当我、应用程序、exe、aapt

2023-09-03 21:54:00 作者:姐不是电视机别老盯着姐看

因为我更新了,前两天我的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.

希望它帮助。