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

问题描述

每次我尝试从Mac导出一个APK(尝试Juno和Indigo),eclipse会在几秒钟后崩溃。

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

我在一个〜2010 MacBook Pro上使用Mac OS X 10.7.4,使用以下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)


$ b $我正在使用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年以后的任何人,您应该使用没有这个问题的。

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无法检测到Android命令的问题仍然是工作或类似的东西。

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

当然,使用Ant外部Eclipse可以选择APK生成Ant可以生成Ant build.xml从您的Eclipse项目更多信息在官方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

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

08-06 01:26