Startup Native C++ Android Project in Android Studio 2.2 or higher

In Android studio 2.2 or higher added implentation C++ beside Java. It is Great. C++ is most popular language for me. We want to in this blog post, describing  startup for writing hybrid Java ,C++  based application  in Android Studio 2.2 or higher. I declare i installed Android Studio 2.2 in Win8.1.

I installed a full SDK android too.I assume you are familiar with SDK Android Studio too, In other words you can create a Java project for Android. Now we can discuss how switch to hyrid programming Android. You first work you should do,Downloading NDK. You should according your OS,you should download NDK. After extrating NDK you have a folder same below :

After it  you should isntall LLDB and CMaek plugin for android studio.We now for programming C,CPP we need CMake or in Qt we need QMake.You can install NDK from below window or Download NDK after in project locate NDK location.

 

galleryNow every thing is ok, you can create a project  that support CPP.CPP in a Great language that  i programmed with it, i am happy Androuid had NDK.You can see in these images  How we can create New Project With CPP in Android.  You can download source  and apk from here.

gallerygallery

gallery

gallery

gallery

Sharing is caring!

Leave a Reply

Your email address will not be published. Required fields are marked *