Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Studio 2.3. I got Failed to find Cmake. Install CMake and sync project

My Android Studio versions is 2.3.

I created new project and i checked "include C++" because I want to do NDK but..

enter image description here

I got error that Failed to find Cmake, Install Cmake and sync project.

I click this 10 times

but nothing happened.

I search SDK manager to install cmake but I can't see word "cmake" anywhere

enter image description here

What can I to do?

like image 986
sangho Avatar asked Mar 20 '17 20:03

sangho


3 Answers

Open the SDK tools settings while you're connected to the Internet. While opening this setting android studio tries to update or rather refresh available tools...

like image 168
Austine Julisons Avatar answered Oct 08 '22 13:10

Austine Julisons


I had the same problem. The solution: File->Settings->Appearance&Behavior->System settings->Android SDK, and then go to the tab "SDK Tools". You can install CMake there and everything else you want.

like image 30
Chorger Avatar answered Oct 08 '22 13:10

Chorger


Check if you are using 64 bit version of Android Studio. In Android Studio 32 bit, cmake will not appear in sdk manager!

like image 32
user1453328 Avatar answered Oct 08 '22 14:10

user1453328



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!