我正在使用 Rhomobile 框架在 Ruby 中开始 Android 开发。我正在尝试为 android 运行 rake 命令
rake run:android
但我收到以下错误
ERROR!!! API version is not found in installed Android SDK: 2.1
关于如何解决它的任何提示?
我的 rhobuild.yml 文件也看起来像
env:
app: /Users/bhushan/rhodes_learn/employee_app
paths:
android-ndk: /Users/bhushan/android-ndk-r7
java: /Library/Java/Home/bin
android: /Users/bhushan/android-sdk-macosx
4.6:
jde:
sim: 9000
mds:
cabwiz:
4.2:
jde:
sim: 8100
mds:
excludedirs:
bb:
- public/js/iui
- public/js/jquery*
- public/jqtouch*
- public/js/prototype*
- public/css/iphone*
- public/iwebkit
- public/themes
- "**/jquery*.js"
- "**/*.db"
- public/images/android
- public/images/iphone
all:
- "**/.*.swo"
- "**/.*.swn"
- "**/.DS_Store"
android:
build:
symbianpath: platform/symbian
bb:
bbsignpwd: somepasswordhere
bbpath: platform/bb
wmpath: platform/wm
androidpath: platform/android
wppath: platform/wp7
iphonepath: platform/iphone