I am unable to build my Android application with Travis-ci. It keeps failing with:
Travis-ci command "./gradlew build" exited with 1.
I have no idea what's causing this, and Travis-ci has no information on how to fix it!
Please advise, Igor
For anyone who is interested, I used the following android components section in my travis.yml file to solve the problem:
android:
components:
# Update Android SDK Tools
- tools
- build-tools-23.0.1
- android-23
# Support library
- extra-android-support
- extra-android-m2repository
Also, my script section has the following:
script:
- chmod +x ./gradlew
Seems to work now!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With