如何在 Java 32 位上使用 Android Studio? [英] How to use Android Studio with Java 32 bit?

查看:29
本文介绍了如何在 Java 32 位上使用 Android Studio?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天我想尝试将我的一些 Eclipse 项目迁移到 Android Studio,但我遇到了一些问题.

Today I want to try migrating some of my Eclipse projects to Android Studio but I have some problems.

当我打开 Android Studio 时,它说我需要安装 64 位 JDK.所以我搜索了这个问题,发现你需要打开studio.exe而不是默认的studio64.exe

When I open the Android Studio, it says that I need to install 64 bit JDK. So I searched for this problem and found out you need to open studio.exe instead of the default studio64.exe

当我打开 studio.exe 时,它​​说我运行的是 64 位 Windows,所以我需要使用 studio64.exe

When I open the studio.exe it says that I'm running 64 bit Windows, so I need to use the studio64.exe

问题是我不仅需要 32 位 Java 用于 Android 开发,而且我所有的 Eclipse 都是 32 位的,所以从 32 位更改为 64 位 Java 对我来说很难.这可能会导致我的一些软件无法正常工作,并可能出现其他一些问题,您需要将 JAVA_HOME 更改为 64 位 java.为了避免这些事情,我只想使用 32 位 Java 而不是 64 位.

The problem is I need the 32 bit Java not only for Android development, and all my Eclipse are in 32 bit, so changing from 32 bit to 64 bit Java is hard for me. This may make some of my softwares not working and some other problems that might arise, and you need to change the JAVA_HOME to the 64 bit java. To avoid those things I would like to just use 32 bit Java instead of 64 bit.

我搜索了这个问题,但我还没有找到任何解决方案,知道如何解决这个问题吗?如果没有解决方案,我想我会继续使用Eclipse..

I searched for this problem but I can't find any solution yet, any idea how to solve this? If there's no solution, I think I'll just keep using Eclipse..

我使用的是 Windows 7 64 位,Android Studio 135.1641136

I'm using Windows 7 64 bit, Android Studio 135.1641136

推荐答案

我认为在没有安装 64 位 Java 的情况下无法运行 studio.exe 是该版本的一个问题.我遇到了同样的问题,但我刚刚安装了当前最新的 Android Studio (135.1740770) 并且运行 studio.exe 没有任何问题.

I think that the impossibility of running studio.exe without a 64-bit Java installed were an issue in that version. I had the same problem but I've just installed currently latest Android Studio (135.1740770) and ran studio.exe without any issues.

此外,如果您使用代理(像我一样),您可能需要更新 C:\Users\username\.AndroidStudio\config\options\other.xml 中的代理参数.

Additionally, if you're behind a proxy (like me) you may need to update the proxy parameters at C:\Users\username\.AndroidStudio\config\options\other.xml.

这篇关于如何在 Java 32 位上使用 Android Studio?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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