尝试运行calabash后门时sdk无法正常工作的路径

时间:2017-09-11 19:55:54

标签: android ubuntu path environment-variables calabash

我正在尝试运行calabash-android console在我正在处理的项目上运行一些后门程序,但每次我尝试运行它时都会收到此错误:

$ calabash-android console app//build/outputs/apk/app-debug.apk
Starting calabash-android console...
Loading /var/lib/gems/2.3.0/gems/calabash-android-0.9.0/irbrc
Running irb...
 WARN: Did not find 'adb' in any standard directory of '/media/jack/OS/Users/jackb/AppData/Local/Android/sdk'. Calabash will therefore take longer to load
 WARN: Did not find 'aapt' in any standard directory of '/media/jack/OS/Users/jackb/AppData/Local/Android/sdk'. Calabash will therefore take longer to load
 WARN: Did not find 'zipalign' in any standard directory of '/media/jack/OS/Users/jackb/AppData/Local/Android/sdk'. Calabash will therefore take longer to load
ERROR: Could not locate Android dependency
ERROR: You can read about how Calabash is searching for an Android SDK and how you can help here:
ERROR: https://github.com/calabash/calabash-android/blob/master/documentation/installation.md#prerequisites

但是我已经为ANDROID_HOME和JAVA_HOME创建了环境变量,我从包含sdk的文件夹中复制了路径。

我不会问,但我觉得我已经尝试了一切。

我也应该添加我肯定安装它们我只是不明白为什么我的路径没有找到它们(我也尝试使路径越来越少地进入目录)。

0 个答案:

没有答案