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:
- The android studio current version is 4.2.2
- This happen when I want to try google/filament samples in android
5
Answers
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
Add
cmake.dir=/usr/local
into yourlocal.properties
. AndroidStudio add/bin
to execute cmake.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 yourlocal.properties
Rebuild your Android app
If u need a specific version (for me I needed 3.18.1) you can download from here
Leaving this here for future reference. thanks.