我们正在尝试使用Fastlane在Travis-ci上为Android构建我们的react native应用,
我已经在线尝试了所有内容,而我当前的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
是什么。有谁知道如何确切地接受什么?