Skip to content

Instantly share code, notes, and snippets.

@vdhanan
Created August 18, 2022 18:22
Show Gist options
  • Save vdhanan/a21918a5d82fcb7e6d5e03e5648de6f6 to your computer and use it in GitHub Desktop.
Save vdhanan/a21918a5d82fcb7e6d5e03e5648de6f6 to your computer and use it in GitHub Desktop.
Install CMake 3.18.1 for Android
Open Android Studio
Click More Actions -> SDK Manager
Go to the SDK Tools tab
Select CMake 3.18.1
Optionally, you can remove 3.10.2 to free up space
Hit Apply at the bottom right
You're done!
@yayabosh
Copy link

For step 2, if Android Studio opens to an existing project for you and the "Welcome to Android Studio!" popup with "More Actions" doesn't show up immediately, you can also access the SDK Manager by navigating to Tools -> SDK Manager. Then you can follow the rest of the steps as specified.

@Ashoat
Copy link

Ashoat commented Aug 18, 2022

For step 4, you might need to check "Show Package Details" in order for CMake 3.18.1 to show up under "CMake"

@vdhanan
Copy link
Author

vdhanan commented Aug 22, 2022

note: you need version 3.18.1 exactly! 3.22 won't work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment