dr0pdb / My-Companion

:computer: :notebook_with_decorative_cover: Android app that caters to the need of an undergraduate student
17 stars 37 forks source link

Fix circleci #11

Closed dr0pdb closed 6 years ago

dr0pdb commented 6 years ago

All the Circle CI builds fail with the following log

#!/bin/bash -eo pipefail
./gradlew dependencies
Starting a Gradle Daemon, 1 incompatible and 1 stopped Daemons could not be reused, use --status for details
NDK is missing a "platforms" directory.
If you are using NDK, verify the ndk.dir is set to a valid NDK directory.  It is currently set to /opt/android/sdk/ndk-bundle.
If you are not using NDK, unset the NDK variable from ANDROID_NDK_HOME or local.properties to remove this warning.

Checking the license for package Android SDK Build-Tools 26 in /opt/android/sdk/licenses
Warning: License for package Android SDK Build-Tools 26 not accepted.

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> You have not accepted the license agreements of the following SDK components:
  [Android SDK Build-Tools 26].
  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

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 6.473 secs
Exited with code 1