calabash / calabash-android

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

Win7(32 bit)Could not build the test server. #876

Open mayfu opened 6 years ago

mayfu commented 6 years ago

I am following Building calabash android build calabash android. it return: rake-build-1-i386-mingw32

my env info $ ruby -v ruby 2.4.4p296 (2018-03-28 revision 63013) [i386-mingw32]

$ gem list --local awesome_print (1.8.0) bigdecimal (default: 1.3.2) builder (3.2.3) bundler (1.16.2) calabash-android (0.9.4) cucumber (2.99.0) cucumber-core (1.5.0) cucumber-wire (0.0.1) did_you_mean (1.1.0) diff-lcs (1.3) escape (0.0.4) gherkin (4.1.3) httpclient (2.8.3) io-console (default: 0.4.6) json (default: 2.0.4, 1.8.6) luffa (2.0.0) minitest (5.10.1) multi_json (1.13.1) multi_test (0.1.2) net-telnet (0.1.1) openssl (default: 2.0.7) power_assert (0.4.1) psych (default: 2.2.2) rake (12.0.0) rdoc (default: 5.0.0) retriable (2.0.2) rubyzip (1.2.1) slowhandcuke (0.0.3) test-unit (3.2.3) thor (0.20.0) xmlrpc (0.2.1)

AndreyMitsyk commented 6 years ago

Hi @mayfu , could you please change this line in your local Rakefile and try again? https://github.com/calabash/calabash-android/blob/651d0941084233818586b24e4b0bc95ca39cae23/ruby-gem/Rakefile#L15 system('BUILDOUTPUT="$(./gradlew clean assembleAndroidTest -q)"') to system('gradlew.bat clean assembleAndroidTest') for windows environment or system('./gradlew clean assembleAndroidTest') if you are using bash. In this case you should able to see full error.

mayfu commented 6 years ago

Thanks @AndreyMitsyk , it has output then.

AndreyMitsyk commented 6 years ago

We have updated logic for build command in latest version. You can try to pull new changes and test this as well. If you managed to resolve your problem please close this github issue 😃