jni 할때 Edit Configuration 꼭 할 것
AndroidNDK_javah
${env_var:JAVA_HOME}/bin/javah.exe
${workspace_loc:/magicScan/bin/classes}
-d ${workspace_loc:/magicScan/jni} -classpath
${env_var:ANDROID_SDK}/platforms/android-17/android.jar;
miso.ux_proj.magicscan.MagicScan
magicScan : project name
miso.ux_proj.magicscan.MagicScan : jni 할 class name
주의!!
${CYGWIN_HOME}/bin/bash
${NDKROOT}/ndk-build NDK_DEBUG=1 V=1
${NDKROOT}/platforms/android-9/arch-arm/usr/include
${NDKROOT}/sources/cxx-stl/gnu-libstdc++/4.6/include
${NDKROOT}/sources/cxx-stl/gnu-libstdc++/4.6/libs/armeabi-v7a/include
C:/NVPACK/OpenCV-2.4.5-Tegra-sdk/sdk/native/jni/include
${env_var:JAVA_HOME}/bin/javah.exe
${workspace_loc:/magicScan/bin/classes}
-d ${workspace_loc:/magicScan/jni} -classpath
${env_var:ANDROID_SDK}/platforms/android-17/android.jar;
mono.jni.magicscan.MagicScan
'프로그래밍 > Android' 카테고리의 다른 글
Activity를 상속받지 않은(extends 하지 않은) 클래스에서의 intent (0) | 2013.11.20 |
---|---|
Installation failed due to invalid APK file! (0) | 2013.11.15 |
Binary XML file line #7: Error inflating class (0) | 2013.11.14 |
android sdk spen (0) | 2013.11.05 |
android debug mode (0) | 2013.09.30 |