Today, we will introduce the demo which is offered by Google.
The link:
https://github.com/android-ndk/ndk
Well, I begin to compile the first demo: Hello jni.
This demo is just simply show the function of JNI, and also we can have a quick look in this feature.
As time went by, the book recorded in Pro Android C++ with the NDK is out of date because Google has officially announced that it will not support Eclipse ADT as the main IDE in Android development. As matter of fact, the code offered on Github is more suitable to be compiled by Android Studio, which is official IDE currently.
The fellowing is the screenshot of Hello Jni:
The next episode will introduce the basic configuration of Android NDK on Android Studio.
Android NDK: From Elementary to Expert Episode 2
最新推荐文章于 2019-04-30 15:02:49 发布