尝试将 android 项目导出到 apk 时出错

尝试将 android 项目导出到 apk 时出错

问题描述:

我无法解决这个问题,我在这里寻求帮助.当我尝试在 Eclipse 中将我的 android 项目导出到 apk 时(任何方式 - 通过导出签名或未签名的应用程序项目)我收到一个错误 -

I cannot resolve this problem and I am here for help. When I try to export my android project to apk in eclipse (any way - by exporting signed or unsigned application project) I'm receiving an error -

"Failed to export application Command-line Error -1073741816 ". 

我拥有谷歌提供的所有工具(SDK、ADT 等,来自这个包 - http://developer.android.com/sdk/index.html).我在这里读到这是一个 java 7 问题 - 所以,我将它重新安装到 java 6,更改了 eclipse 首选项中的设置,但这没有帮助.另一个步骤是从 eclipse 网站安装 eclipse,并分别从 google 和 ADT 安装 SDK.没有帮助.有什么想法吗?

I have all the tools provided from google (SDK, ADT etc. from this one package - http://developer.android.com/sdk/index.html ). I read here that this is a java 7 problem - so, I reinstalled it to java 6, changed settings in eclipse preferences and this doesn't helped. Another step was installing eclipse from eclipse website, and separately SDK from google and ADT. Doesn't help. Any ideas?

在 Eclipse 中,转到 Project -> Build Automatically 并取消选中它.然后,尝试使用 Android 工具再次导出.

In Eclipse, go to Project -> Build Automatically and uncheck it. Then, try to export again using the Android Tools.