Hallo, ich habe auch das gleiche Problem, aber die obige Lösung wurde nicht in meinem case.But arbeiten, wenn es zu beheben, indem
before_install:
- chmod +x gradlew
Nach der Anwendung chmode auf before_install geben ich das Problem behoben haben.
komplette .travis.yml
language: android
android:
components:
# Uncomment the lines below if you want to
# use the latest revision of Android SDK Tools
# - platform-tools
# - tools
# The BuildTools version used by your project
- build-tools-25.0.0
# The SDK version used to compile your project
- android-25
# Specify at least one system image,
# if you need to run emulator(s) during your tests
- sys-img-armeabi-v7a-android-22
- sys-img-armeabi-v7a-android-17
before_install:
- chmod +x gradlew
Ich hoffe, das jemand helfen wird, die nicht die Lösung aus der obigen Antwort zu bekommen.