[Android] Set up an environment for C++ native ndk18

defaultConfig {
applicationId "com.nhancv.myapplication"
minSdkVersion 21
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
externalNativeBuild {
cmake {
cppFlags ""

buildTypes {
release {
minifyEnabled false…





Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Simple Item Animation with Jetpack Compose’s LazyGrid

How to make a Splash Screen right way in Android


Flutter observer pattern

Android Navigation Architecture

Android View Binding Without Boilerplate  —  Part 1

Setup Map on an Android Application in smart way

Android Dependency Injection using Hilt

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nhan Cao

Nhan Cao


More from Medium

Expert: Courier App MVVM Jetpack (HMS CloudDB Kit) in Android using Kotlin- Part-3

RecycleView Kotlin — Android Studio

How to write and to read files from Kotlin in JetPack Compose

Exploring Android 12: VibratorManager & New Vibration Primitives