Quantcast
Channel: Android project missing CMake license - Stack Overflow
Viewing all articles
Browse latest Browse all 3

Android project missing CMake license

$
0
0

I have installed the following SDK components on my CI machine via commandline:

  • tools_r25.2.3-macosx
  • android-ndk-r13b-darwin-x86_64
  • platform-tools,tools, extra-google-m2repository,extra-google-google_play_services,extra-android-m2repository,extra-android-support, build-tools-25.0.1,android-25

I have also copied licenses from my developer machine into /Users/Shared/Jenkins/Home/jobs/My_App_Android_Gradle/workspace/android-sdk-macosx/licenses

However, when I try to build my NDK project, I get this error:

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

This error does not make a lot of sense to me, and the above link is outdated anyway. Furthermore, there is no license for CMake in the /android-sdk-macos/license directory. So where can I obtain the CMake license from?


Viewing all articles
Browse latest Browse all 3

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>