简体   繁体   English

Android SDK Zip-Windows 64位主变量

[英]Android SDK Zip - Windows 64bit Home Variable

I'm using the android_sdk.zip version, since I don't feel comfortable using installers on Windows systems. 我使用的是android_sdk.zip版本,因为在Windows系统上使用安装程序感到不舒服。 However, I understand that I need to set the Home variable in order for the SDKManager.exe to run properly. 但是,我知道我需要设置Home变量才能使SDKManager.exe正常运行。 I tried another method posted on stackoverflow, but if I do that, then both Eclipse and Netbeans, won't find Java anymore. 我尝试了在stackoverflow上发布的另一种方法,但是如果这样做,那么Eclipse和Netbeans都将找不到Java。

"C:\\Program Files\\Java\\jdk1.6.0_25\\bin';'" “ C:\\ Program Files \\ Java \\ jdk1.6.0_25 \\ bin';'”

Any ideas? 有任何想法吗?

Thanks! 谢谢!

I believe there may be a bug in the installer for Windows, as I haven't seen it work properly at detecting a JDK on Windows 7 at all. 我相信Windows的安装程序中可能存在错误,因为我还没有看到它可以在Windows 7上检测到JDK时正常工作。

If you are planning on developing in Eclipse, it isn't even required. 如果您打算在Eclipse中进行开发,则甚至不需要。 You'll save yourself a lot of time and headache if you just download and install the SDK zip file (instead of the installer EXE). 如果仅下载并安装SDK zip文件(而不是安装程序EXE),则可以节省很多时间和头痛。

  1. Download and unpack this file somewhere on your machine 在您的计算机上的某个位置下载并解压缩该文件
  2. Install the ADT plugin into Eclipse 将ADT插件安装到Eclipse中
  3. Point ADT to the location you unzipped the SDK in Preferences 将ADT指向您在“偏好设置”中解压缩SDK的位置

HTH 高温超导

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM