Problem in Build Android (SDK Licnse)

Error Message

You have not accepted the license agreements of the following SDK components:
[Android SDK Platform 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

Circle.yml
dependencies:
pre:
- chmod +x gradlew
- echo yes | android update sdk --no-ui --all
override:
- ./gradlew assembleDebug
- cp -r CUK/build/outputs $CIRCLE_ARTIFACTS
- ANDROID_HOME=/usr/local/android-sdk-linux ./gradlew dependencies
- TERM=dumb ./gradlew cleanTest test -PpreDexEnable=false -Pcom.android.build.threadPoolSize=1 -Dorg.gradle.parallel=false -Dorg.gradle.jvmargs=“-Xms512m -Xmx512m” -Dorg.gradle.daemon=false

When i try to Build in Circle CI
it shows error message like above

i try to searh, apply and else
but i can’t solve this problem
how can i success to build?

my app target API, Build API is 25 (7.1)
and Build tool is 25.0.0

Can you take at look at the info and link in this thread: Need to accept license agreement for Android tools?