Help to see that the opencv compiling the android platform always reports errors.

SDK initialized in 0 ms
Checking the license for package CMake 3.6.4111459 in / home/tianshaokai/Android/Sdk/licenses
Warning: License for package CMake 3.6.4111459 not accepted.

FAILURE: Build failed with an exception.

What went wrong:
A problem occurred configuring project": face-detection".
com.android.builder.sdk.LicenceNotAcceptedException: Failed to install the following Android SDK packages as some licences have not been accepted.
cmake 3.6.4111459 CMake 3.6.4111459
To build this project, accept the SDK license agreements and install the missing components using the Android Studio SDK Manager.
Alternatively, to transfer the license agreements from one workstation to another, see http://d.android.com/r/studio...

Using Android SDK: / home/tianshaokai/Android/Sdk

Try:
Run with-- stacktrace option to get the stack trace. Run with-- debug option to get more log output. Run with-- scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 2s
ninja: build stopped: subcommand failed.
Traceback (most recent call last):
File "build_sdk.py", line 296, in
builder.build_library (abi, do_install)
File "build_sdk.py", line 185, in build_library
execute (["ninja", "install/strip"])
File "build_sdk.py", line 23, in execute
raise Fail ("Child returned:% s"% retcode)
: main.Fail: 1

Ubuntu 16.04 LTS
My cmake version 3.13.3
NDK android-ndk-r18b
opencv 4.0.1

May.26,2022

try setting ANDROID_NDK_HOME and ANDROID_HOME environment variables.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3c2eb-2c2ff.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3c2eb-2c2ff.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?