64位Eclipse将不会在Android模拟器安装apk文件 [英] 64-bit Eclipse won't install .apk on Android emulator

查看:335
本文介绍了64位Eclipse将不会在Android模拟器安装apk文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Windows 7 64位,运行Eclipse 3.6的64位,JDK(jdk1.6.0_23)64位和Android 2.3(位数?),通过Eclipse的Run运行程序|运行(按Ctrl + F11)调用Android模拟器,但不会在模拟器上安装apk文件(当然不能运行)。

On Windows 7 64-bit, running Eclipse 3.6 64-bit, JDK (jdk1.6.0_23) 64-bit and Android 2.3 (bitness?), running a program via Eclipse's Run|Run (Ctrl+F11) invokes the android emulator, but won't install .apk on the emulator (and certainly won't run it).

(更新,回答@ Computerish的问题)我正在逐渐Eclipse的控制台是:

(update, answering @Computerish's question) All I am getting at Eclipse's Console is:

[2010-12-16 10:23:33 - HelloAndroid] ------------------------------
[2010-12-16 10:23:33 - HelloAndroid] Android Launch!
[2010-12-16 10:23:33 - HelloAndroid] adb is running normally.
[2010-12-16 10:23:33 - HelloAndroid] Performing com.example.helloandroid.HelloAndroid activity launch
[2010-12-16 10:23:33 - HelloAndroid] Automatic Target Mode: launching new emulator with compatible AVD 'AVD23'
[2010-12-16 10:23:33 - HelloAndroid] Launching a new emulator with Virtual Device 'AVD23'

此问题不会发生在Windows XP中,运行Eclipse 3.5.2和Android 2.2(所有32位)。

This problem doesn't happen on Windows XP, running Eclipse 3.5.2 and Android 2.2 (all 32-bit).

我试图通过<一个公认的答案提出的解决方案href="http://stackoverflow.com/questions/2793956/android-emulator-wont-run-application-started-from-eclipse">this线程但它并没有帮助。任务管理器显示亚行的形象名称为 adb.exe * 32 。也许还有就是Eclipse + JDK(64位)和Android模拟器/ SDK?

I tried the solution suggested by the accepted answer in this thread but it didn't help. Task manager shows adb's Image Name as 'adb.exe *32'. Perhaps there is a mismatch between the bitness of Eclipse+JDK (64-bit) and the Android emulator/SDK?

时使用Android开发的 64位JDK 不可能的(还)?

Is Android development using 64-bit JDK not possible (yet)?

推荐答案

确定,这里是最终的答案(到目前为止):Android开发,使用64位JDK的,是<强>不可以可能(还)。

OK, here is the final answer (as of today): Android development, using 64-bit JDK only, is not possible (yet).

如果您安装了64位的Eclipse和仅安装32位的JDK,Eclipse会拒绝启动。

If you install the 64-bit Eclipse and install only the 32-bit JDK, Eclipse will refuse to start.

所以,如果你决定要安装64位的Eclipse,您需要同时安装64位JDK的的32位JDK。

So, if you decided to install the 64-bit Eclipse, you need to install both the 64-bit JDK and the 32-bit JDK.

此后,甚至臭名昭著的installer_r08-windows.exe之后将运行(甚至自动调用SDK的manager.exe你)。

Thereafter, even the infamous installer_r08-windows.exe will run (and even invoke "SDK Manager.exe" automatically for you).

但64位的Eclipse仍然不会在Android模拟器安装apk文件。

But 64-bit Eclipse still won't install .apk on Android emulator.

结论:谷歌是在指出不支持安卓(还)64位Windows下完全正确的。一些天才设法做一些魔法使自己的环境中工作的事实,我是无法理解。

Conclusion: Google is absolutely correct in stating that Android is not supported (yet) under 64-bit Windows. The fact that some geniuses manages to do some magic to make their environment work is beyond me.

这篇关于64位Eclipse将不会在Android模拟器安装apk文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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