Environment Configuration
- Cygwin
- Android NDK ( r10e )
- Android SDK
- Java SDK ( version 7 )
- OS Windows ( 8.1 )
- Developer Tools ( Eclipse )
Eclipse NDK setup
Import Sample Project
{NDK_PATH}\ samples\hello-jni
Add Native Support
Run Application
Project Architecture explain
產生.h檔
切換至專案目錄底下
Native Source .h
編譯.so檔
cd $PROJECT_PATH
ndk-build
文章標籤
全站熱搜
留言列表