zu verwenden Ich bin Kalebass-Android-Test auf CircleCI integriert. In meinem Lokal hat alles bisher gut funktioniert. Als ich anfing, den Test auf CircleCI zu erstellen, erhielt ich die folgende Antwort:Circle-ci wie Keystore-Informationen einzugeben, um einen benutzerdefinierten Keystore anstelle der Standard
Please enter keystore information to use a custom keystore instead of the default
Please enter keystore location command calabash-android setup took more than 10 minutes since last output.
Anfügen der circle.yml Datei unten.
machine:
environment:
ANDROID_HOME: /usr/local/android-sdk-linux
JAVA_HOME: /usr/lib/jvm/java-7-openjdk-amd64
ruby:
version: 2.2.0
#general:
# artifacts:
# - /home/ubuntu/Latto-Android/app/build/outputs/apk/
dependencies:
cache_directories:
- ~/.android
- ~/android
override:
- gem install calabash-android
test:
pre:
- emulator -avd circleci-android22 -no-audio -no-window:
background: true
parallel: true
override:
- echo "Running JUnit tests!!!!!!" && ls && pwd
- circle-android wait-for-boot
- sleep 5
# Unlock the emulator device
- fb-adb shell input keyevent 82
- sleep 5
- fb-adb shell input touchscreen swipe 370 735 371 735
- sleep 5
- calabash-android setup
- calabash-android resign "Test-debug-unaligned.apk"
- calabash-android run "Test-debug-unaligned.apk" -v
Ich habe verschiedene Methoden ausprobiert, um das Problem zu beheben, aber das Problem besteht immer noch. Alle ein bisschen hilft werden geschätzt.
Wow, du bist ein kleiner Bruder. Danke für die Hilfe trotzdem. –