Я установил следующие компоненты SDK на моем CI машине через командную строку:Android проект отсутствует CMake лицензия
- tools_r25.2.3-MacOSX
- андроид-NDK-r13b-Darwin-x86_64
- от платформы инструменты, инструменты, экстра-Google-m2repository, экстра-Google-google_play_services, экстра-андроид-m2repository, экстра-андроид-поддержка, встроенный инструмент-25.0.1, андроид-25
Я также скопированные лицензии от моей машины разработчика i НТО /Users/Shared/Jenkins/Главная/Работа/My_App_Android_Gradle/рабочее пространство/Android-SDK-MacOSX/лицензии
Однако, когда я пытаюсь построить мой проект NDK, я получаю эту ошибку:
Checking the license for package CMake 3.6.3155560 in /Users/Shared/Jenkins/Home/jobs/My_App_Android_Gradle/workspace/android-sdk-macosx/licenses
Warning: License for package CMake 3.6.3155560 not accepted. FAILURE: Build failed with an exception.
- What went wrong: A problem occurred configuring project ':app'. Could not resolve all dependencies for configuration ':app:_ProductionDebugApk'. A problem occurred configuring project ':jni-code'. You have not accepted the license agreements of the following SDK components: [CMake 3.6.3155560]. 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
Эта ошибка не имеет для меня большого смысла, и вышеупомянутая ссылка устарела в любом случае. Кроме того, лицензия на CMake в каталоге/android-sdk-macos/license отсутствует. Итак, откуда я могу получить лицензию CMake?