我正在尝试为 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
任何帮助将非常感激。