0

嗨,我正在尝试在我的 Windows 8 上设置 Ruboto,即使通过命令提示符说是下载和安装 Apache,也会出现以下错误。任何帮助表示赞赏

C:\>ruboto setup
Java runtime             : Found
Java Compiler            : Found
Apache ANT               : Not found
Android Package Installer: Not found
Android Emulator         : Not found
Intel HAXM               : Not found
Android SDK Command adb  : Not found
Android SDK Command dx   : Not found
Platform SDK android-15  : Not found

!!! Ruboto setup is NOT OK !!!

Apache ANT was not found.
Would you like to download and install it? (Y/n): y    
Downloading...
Installing apache-ant-1.9.0-bin.tar.gz...
F, [2014-10-05T09:58:23.048000 #15164] FATAL -- : not in gzip format (Zlib::Gzip
File::Error)
org/jruby/ext/zlib/JZlibRubyGzipReader.java:156:in `initialize'
org/jruby/ext/zlib/JZlibRubyGzipReader.java:85:in `new'
org/jruby/ext/zlib/JZlibRubyGzipReader.java:105:in `open'
4

1 回答 1

0

下载ant你自己,解压到文件夹 "c:\ant" ,用 udpate PATH set PATH=c:\ant\bin;%PATH%",现在重新运行ruboto setup

您可能想在 Windows 中更新系统路径,因此下次打开 cmd 提示时不必添加ant路径。

于 2014-10-05T05:19:57.107 回答