从日食导出APK(ADT)默默地崩溃 [英] Exporting APK from eclipse (ADT) silently crashes

查看:221
本文介绍了从日食导出APK(ADT)默默地崩溃的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我尝试从Eclipse的(试过了财富和靛蓝)在Mac上导出APK,几秒钟后日食崩溃

Every time I try to export an APK from Eclipse (tried Juno and Indigo) on Mac, eclipse crashes after a few seconds

这用于正常工作对我目前的设置。

This used to work fine on my current setup.

在我的手机上运行该应用程序直接(调试模式)正常工作。

Running the app straight (debug mode) on my phone works fine.

从控制台的错误是:

Invalid memory access of location 0x10073f113 rip=0x101f656f7
Bus error: 10

我使用的是Mac OS X 10.7.4在〜2010的MacBook Pro,用下面的Java:

I'm using Mac OS X 10.7.4 on a ~2010 MacBook Pro, with the following java:

java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b03-424-11M3720)
Java HotSpot(TM) 64-Bit Server VM (build 20.8-b03-424, mixed mode)

我使用ADT 20。

I'm using ADT 20.

我试着重新安装Eclipse和Android SDK中,并重新下载ADT。

I've tried reinstalling Eclipse and the Android SDK, and re-downloading ADT.

Eclipse的错误观点并没有显示任何东西。

The Eclipse error view doesn't show anything

不同的方法,我可以尝试,或其他方式的任何想法,以调查发生了什么事了?

Any ideas of different methods I can try, or other ways to investigate what's going wrong?

干杯

更新:对于任何沿后2014年来了,你应该使用机器人工作室,它没有按'T有这样的问题。

Update: For anyone coming along post-2014, you should be using Android Studio, which doesn't have this problem.

推荐答案

禁用项目/自动构建时,您正在导出

Disable Project/Build Automatically when you are exporting

我认为Eclipse是无法检测到的Andr​​oid命令的问题仍然是工作或类似的东西。

I think is a problem of Eclipse unable to detect the Android command is still working or something similar.

当然有过APK代使用Ant的选项的Eclipse外,你可以从你的Eclipse项目生成的Ant build.xml在Android官方文档的详细信息

Of course there is ever the option of APK generation using Ant outside Eclipse you can generate an Ant build.xml from your Eclipse project more info in official Android docs

这篇关于从日食导出APK(ADT)默默地崩溃的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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