Where is the CMake install option in Android Studio 3.2.1?

22
April 15, 2019, at 6:30 PM

I am trying to install NDK in Android Studio 3.2.1 and I am following the procedure described here

It says I need to select LLDB, Cmake and NDK form the list in the SDK Manager,but I can only see LLDB and NDK in my computer, and CMake is absent

What do I need to do to install CMake and start coding using C? Or is installing just LLDB and NDK enough?

Answer 1

According to the docs on developer.android site:

Android Studio supports CMake, which is good for cross-platform projects, and ndk-build, which can be faster than CMake but only supports Android. Using both CMake and ndk-build in the same module is not currently supported.

You can only use one of the Cmake or NDK(as you see NDk is better but only developed for Android).

here is link of documentation for more info.

If you still have problem with installing cmake by sdk manager, make sure you are using 64 bit version of android studio.

for more information about how you can install Cmake or NDK you can see this answer

READ ALSO
Sync engine design approach

Sync engine design approach

I am in a situation where I am unable to figure out how to go about realtime db sync as a part of offline-first architecture for Android/iOSThe situation is:

35
Upload binary file with retrofit android?

Upload binary file with retrofit android?

I have image file to be uploaded to serverThe API is to be of Content-Type:application/x-www-form-urlencoded

41
How to keep 3rd party library for Android?

How to keep 3rd party library for Android?

I have third party libraries in my projectI added Proguard my project and i make release project but my third party libraries crashes

34
App is getting Restart when data is changed on firebase database [on hold]

App is getting Restart when data is changed on firebase database [on hold]

My app is getting restart when any data is changed in firebase database, even if my app is the onPause mode that time, if changed my database value, app getting restart and show the apphow can i solve it?

21