简体   繁体   English

Android SDK Manager.exe不起作用

[英]Android SDK Manager.exe does not work

i just stated develponog for android and i dont really know what is happening. 我刚刚为Android开发了develponog,但我真的不知道发生了什么。 when i open the SDK Manager.exe application everything opens fine exept for when i try to type into the command line section of it does not work. 当我打开SDK Manager.exe应用程序时,当我尝试在命令行部分键入内容时,一切正常打开,这是行不通的。 also i have looked everywhere to find out why i need to setup a path for the SDK. 我也四处寻找找出为什么我需要为SDK设置路径。 does this have to do with the SDK manager? 这与SDK管理器有关吗? i am running it on a netbook 我正在上网本上运行它

thanks for the help 谢谢您的帮助

Have you already installed Java SE Development Toolkit 1.6 ? 您是否已经安装了Java SE Development Toolkit 1.6 If so, perhaps you already had an older JDK installed and when you try to run SDK Manager.exe it first fetchs the older one. 如果是这样,则可能您已经安装了较旧的JDK,并且在尝试运行SDK Manager.exe它将首先获取较旧的JDK There are two possible solutions: 有两种可能的解决方案:

  • Rollback your JDK instalations, and when you have no JDK present in your netbook, then install the 1.6 version. 回滚您的JDK安装,并且当您的上网本中没有JDK时,请安装1.6版本。

OR 要么

  • Go to Control Panel -> System -> Advanced -> Environment Variables 转到Control Panel -> System -> Advanced -> Environment Variables

In system variables look for Path variable and click Edit . 在系统变量中,查找Path变量,然后单击Edit Check if the value field doesn't have the path to your Java JDK's bin folder. 检查value字段是否没有Java JDK的bin文件夹的路径。 If that already exists substitute to the correct one. 如果已经存在,请替换为正确的那个。 (ie C:\\Program Files\\Java\\jdk1.6.0_25\\bin ). (即C:\\Program Files\\Java\\jdk1.6.0_25\\bin )。 Otherwise, you need to insert this path at the front of the list. 否则,您需要将此路径插入列表的开头。 Insert the path followed by a ; 插入路径,后跟一个; . Click ok all the way and reboot your machine. 一直单击确定,然后重新启动计算机。

After this, give another chance to SDK Manager.exe ! 之后,再给SDK Manager.exe一个机会! :) :)

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

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