calabash / calabash-android

Automated Functional testing for Android using cucumber
Other
1.68k stars 617 forks source link

Detect Android SDK does not work for ~/Library/Android/sdk #783

Open idanilov opened 7 years ago

idanilov commented 7 years ago

I tried to use calabash-android with Android Studio SDK, but constantly had error that Android SDK could not be found.

After digging into dependencies.rb I found following condition where path to file not expanded

if File.exist?('~/Library/Android/sdk/')

Could be fixed with:

if File.exist? File.expand_path '~/Library/Android/sdk/‘
jamespullar commented 7 years ago

Looks like this commit fixes your issue @idanilov https://github.com/calabash/calabash-android/commit/9295e46e11a0979833126d25bd2c070d7c2b7d26