Reputation: 33
I have done some searching and found that I should install CMake in SDK manager but the 3.19+ version does not show here as shown in the picture below.
Is there anything that has to be done in order to have CMake 3.19?
Edit:
Upvotes: 1
Views: 12654
Reputation: 991
Leaving this here for future reference. thanks.
sudo JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64 ./sdkmanager "cmake;3.xx.x"
Upvotes: 0
Reputation: 415
If u need a specific version (for me I needed 3.18.1) you can download from here
Upvotes: 2
Reputation: 6957
Follow the instructions here to download and add CMake to your path: https://tudat.tudelft.nl/installation/setupDevMacOs.html
Add cmake.dir=/usr/local
into your local.properties
Rebuild your Android app
Upvotes: 2
Reputation: 11
Add cmake.dir=/usr/local
into your local.properties
. AndroidStudio add /bin
to execute cmake.
Upvotes: 1
Reputation: 405
you can manually download the newest cmake version (https://cmake.org/download/) and specify in gradle to use it: https://developer.android.com/studio/projects/install-ndk
Upvotes: 2