如何在Ubuntu中设置ruboto项目

时间:2016-07-03 16:18:17

标签: ruby ruboto

我正在尝试为Ubuntu上的基本Ruboto项目设置我的开发环境。我已经安装了ruboto gem并运行ruboto setup命令,这就是我得到的。

Java runtime             : Found
Java Compiler            : Found
Apache ANT               : Found
Android Package Installer: Not found
Android Emulator         : Not found
Android SDK Command adb  : Not found
Android SDK Command dx   : Not found
Platform SDK android-16  : Not found

!!! Ruboto setup is NOT OK !!!

Android package installer not found.
Would you like to download and install it? (Y/n): 

F, [2016-07-03T17:15:36.805497 #9102] FATAL -- : undefined method `[]' for nil:NilClass (NoMethodError)

即使我已经安装了android sdk并将其添加到PATH中。我已经按照本教程中的步骤来设置环境,但我仍然遇到问题。

https://github.com/ruboto/ruboto/wiki/Environment-setup-for-ubuntu

我之前使用rvm安装了ruby版本2.3.0,当我运行命令echo $ PATH时,我回来了:

/home/qasim/.rvm/gems/ruby-2.3.0/bin:/home/qasim/.rvm/gems/ruby-2.3.0@global/bin:/home/qasim/.rvm/rubies/ruby-2.3.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/qasim/.rvm/bin:/snap/bin:/home/qasim/.rvm/bin:/android-sdk-linux/tools:/android-sdk-linux/platform-tools:/var/lib/gems/1.8/bin:/home/qasim/.rvm/bin

非常感谢任何帮助。

0 个答案:

没有答案