尝试将 android 项目导出到 apk 时出错 [英] Error when trying to export android project to apk

查看:41
本文介绍了尝试将 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.

这篇关于尝试将 android 项目导出到 apk 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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