본문 바로가기
OldStory/Sites

Setting Up Android JNI/NDK Projects in Windows Eclipse – And Sequoyah

by Alnilam 2012. 4. 26.

Eclipse에서 안드로이드 JNI/NDK 빌드 환경 구축 방법에 대한 소개 링크

http://permadi.com/blog/2011/09/setting-up-android-jni-projects-in-windows-eclipse-and-sequoyah/

 

1. Eclipse와 Android SDK 설치

2. Install Eclipse C/C++ Development Tools

- Eclipse menu -> Help->Install New Software

- Select Indigo or CDT updates site

- Select Programming Languages

- Select/check C/C++ Development Tools

3. Install Sequoyah Plug in

- Eclipse menu -> Help->Install New Software

- Add Work with:  http://download.eclipse.org/sequoyah/updates/2.0/

- uncheck Group items By Category

- Select All and Install

4. Install Android NDK

5. Add the PATH of Android NDK

- NDK 설치 한 PATH를 윈도우 환경 변수에 추가

6. Add Android NDK path into the Eclipse Android Preferences

-  Eclipse menu -> Windows -> Preferences

-  Android->Native Development -  NDK Location 에 NDK 설치 경로 입력

7. Install Cygwin

- cygwin 이 설치 되어 있지 않으면 설치 한다. 이 때 Devel category의 make tool은 반드시 포함시켜주어야 한다.

8. Restart Eclipse

9. C/C++ build 환경 설정

-  Eclipse menu -> Project ->  Properties

- C/C++ Build : Build Settings : Build Command 에 "bash c:android-ndk-r7bndk-build" 설정

- C/C++ Build : Environment : PATH 에 "bash.exe" 가 있는 "c:cygwin/bin" 풀더 추가

 

'OldStory > Sites' 카테고리의 다른 글

NASA 화성 탐사 로봇 Curiosity 착륙 성공  (0) 2012.08.06
Hello someone is making nasty rumors about you…  (0) 2012.07.05
Anki  (0) 2012.04.25
Driver Signature Enforcement Overrider  (0) 2012.04.17
ffmpeg mingw windows7  (0) 2012.04.06