QnaList > Groups > Calabash-Android > Apr 2016
faq

Issue In Calabash-android New Installation

Hi,
I just installed calabash-android in ubuntu 14.04 desktop, but failed to 
run it succesfully.
*1. When I run `calabash-android version` I see error:*
~/.rvm/gems/ruby-2.2.1/gems/calabash-android-0.7.0/bin/calabash-android:130:in 
`': uninitialized constant Calabash (NameError)
*2. When I run `calabash-android console build xyz.apk -v` I see error:*
DEBUG: Setting Android SDK location to $ANDROID_HOME
DEBUG: Android SDK location set to '~/android-sdk-linux/'
 WARN: Did not find 'adb' in any standard directory of 
'~/android-sdk-linux/'. Calabash will therefore take longer to load
DEBUG:  - Expected to find 'adb' in any of:
DEBUG:  - ~/android-sdk-linux/platform-tools
 WARN: Did not find 'aapt' in any standard directory of 
'~/android-sdk-linux/'. Calabash will therefore take longer to load
DEBUG:  - Expected to find 'aapt' in any of:
DEBUG:  - ~/android-sdk-linux/platform-tools
DEBUG:  - ~/android-sdk-linux/tools
 WARN: Did not find 'zipalign' in any standard directory of 
'~/android-sdk-linux/'. Calabash will therefore take longer to load
DEBUG:  - Expected to find 'zipalign' in any of:
DEBUG:  - ~/android-sdk-linux/platform-tools
DEBUG:  - ~/android-sdk-linux/tools
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
*3. Here is my android SDK (v24.4.1) structure*. I do see both 
`platform-tools` and `tools` folder inside.
➜  android-sdk-linux git:(master) ✗ pwd
~/android-sdk-linux
➜  android-sdk-linux git:(master) ✗ tree -L 1
.
├── add-ons
├── build-tools
├── platforms
├── platform-tools
├── SDK Readme.txt
├── temp
└── tools
You received this message because you are subscribed to the Google Groups "calabash-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]
For more options, visit https://groups.google.com/d/optout.

asked Apr 5 2016 at 00:47

Xi Xiao 's gravatar image



2 Replies for : Issue In Calabash-android New Installation
btw, `calabash-android gen` works fine to generate skeleton
You received this message because you are subscribed to the Google Groups "calabash-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]
For more options, visit https://groups.google.com/d/optout.

answered Apr 5 2016 at 00:53

Xi Xiao 's gravatar image


Please update to calabash-android 0.7.2.
If you still have problems, check your android installation.
Thanks,
jjm
You received this message because you are subscribed to the Google Groups "calabash-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]
For more options, visit https://groups.google.com/d/optout.

answered Apr 5 2016 at 03:06

Joshua Moody 's gravatar image


Related discussions

Tagged

Group Calabash-android

asked Apr 5 2016 at 00:47

active Apr 5 2016 at 03:06

posts:3

users:2

Calabash-android

©2013 QnaList.com