私は現在、Android 24/build tools 24.0.3で動作しているいくつかの問題を抱えているtravis.ymlを取得しようとしています。Android Lib付きTravis CI - 互換性のあるデバイスが接続されていません
私は私のtravis.ymlに対して次があります。
: No compatible devices connected.[TestRunner] FAILED Found 1 connected device(s), 0 of which were compatible. :app:connectedDebugAndroidTest FAILED
か::
完全に2つですNo output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
を
language: android
sudo: required
jdk: oraclejdk8
cache:
directories:
- ${TRAVIS_BUILD_DIR}/gradle/caches/
- ${TRAVIS_BUILD_DIR}/gradle/wrapper/dists/
env:
global:
- ANDROID_API_LEVEL=24
- ANDROID_BUILD_TOOLS_VERSION=24.0.3
- ANDROID_ABI=armeabi-v7a
- ANDROID_TAG=google_apis
- ADB_INSTALL_TIMEOUT=20 # minutes (2 minutes by default)
android:
components:
- tools # to get the new `repository-11.xml`
- platform-tools
- tools # to install Android SDK tools 25.1.x
- build-tools-$ANDROID_BUILD_TOOLS_VERSION
- android-$ANDROID_API_LEVEL
# For Google APIs
- addon-google_apis-google-$ANDROID_API_LEVEL
# Support library
- extra-android-support
# Latest artifacts in local repository
- extra-google-m2repository
- extra-android-m2repository
# Specify at least one system image
- sys-img-armeabi-v7a-google_apis-$ANDROID_API_LEVEL
before_script:
- echo no | android create avd --force -n test -t "android-"$ANDROID_API_LEVEL --abi $ANDROID_ABI --tag $ANDROID_TAG
- emulator -avd test -no-skin -no-window &
- android-wait-for-emulator
script:
- ./gradlew clean jacocoDebugTestReport
は私の現在の問題は、私は入れませんということです別々のエラー状態。
誰かが私のtravis.ymlに関して何かが間違っているか間違っているのを見ると、それがうまくいかない理由を説明するのに役立ちます。
ご協力いただきありがとうございます。実際、両方のプラットフォームをダウンロードするのは間違いありません。あなたの[sdkターゲット](https://github.com/ardock/android-topeka/blob/acib/scripts/acib#L49)と各[エミュレータターゲット](https://github.com/ardock/android-topeka) /blob/acib/.travis.yml#L27)。以前のプラットフォームは[プリインストールされています](https://github.com/travis-ci/travis-cookbooks/blob/a68419ebe0ce92876a70534cd145ddd931d0feee/ci_environment/android-sdk/attributes/default.rb)です。 – albodelu