/JNI_Example

JNI 測試

Primary LanguageC++

JNI_Example

JNI 測試

1."Import" -> "Android" -> "Existing Android Code Into Workspace" -> "Next"
2.Root Directory 選擇專案的路徑
3.選擇 Rroject to Import 的專案(打勾) -> Finish
4."Window" -> "Preferences" -> "Android" -> "NDK" -> 選擇 NDK 的安裝路徑
5在 專案 -> 右鍵 -> "Android Tools" -> "Add Native Support.."
6.輸入 "NativeCode" -> "Finish"
7."Build"