TravisCi Android отсутствуют лицензии - PullRequest
0 голосов
/ 27 июня 2018

мы пытаемся построить наше собственное приложение для Android на Travis-ci с fastlane, сборка не удалась

Я перепробовал все онлайн, и мой текущий travis.yml выглядит так:

matrix:
  include:
  - language: android
    android:
      components:
        - tools
        - build-tools-26.0.1
        - build-tools-25.0.1
        - build-tools-25.0.2
        - build-tools-25.0.3
        - build-tools-24.0.1
        - build-tools-23.0.1
        - android-26
        - android-25
        - android-24
        - android-23
        - extra
        - tools
      licenses:
          - 'android-sdk-license-.+'
          - 'google-gdk-license-.+'
          - 'build-tools-.+'

Я много чего пробовал, но всегда получаю следующие ошибки

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all dependencies for configuration ':app:_devDebugApk'.
   > A problem occurred configuring project ':react-native-onesignal'.
      > You have not accepted the license agreements of the following SDK components:
        [Android SDK Build-Tools 25].
        Before building your project, you need to accept the license agreements and complete the installation of the missing components using the Android Studio SDK Manager.
        Alternatively, to learn how to transfer the license agreements from one workstation to another, go to http://d.android.com/r/studio-ui/export-licenses.html

Я не уверен, что такое Android SDK Build-Tools 25 с точки зрения build-tool-xxx tools android-xxx. Кто-нибудь знает, как узнать, что именно принимать?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...