2012. 9. 13. 12:04ㆍDevTool/Cocos2D-X
JDK 설치(JAVA)
http://www.oracle.com
Java for Developers - 설치파일 다운로드
설치 후 cmd 창에 java -version 확인
Android SDK 설치
http://developer.android.com
download sdk
Eclipse 다운로드
http://www.eclipse.org
Eclipse IDE for Java Developers 다운로드
Eclipse 설정
[Help]-[Install New Software]
[Add]
[Name] : ADT Plugin
[Location] : https://dl-ssl.google.com/android/eclipse/
V Developer Tools
Warning.. OK
Restart Now
[AVD Manager]
[New]
[Name] : avd
[Target]
[Size] : 1024
[New]
[SD Card support]
Cygwin 설치
http://www.cygwin.com
[Devel] Install
[Editors] Install
Android NDK 다운로드
http://developer.android.com
[tool]-[NDK]
시스템 사용자 환경변수
[PATH]
$cygwin\bin;$cygwin\usr\include;$android-sdk\tools;
Cygwin 환경설정
vi ~/.bashrc
i
export PATH=$PATH:/cygdrive/$android-ndk
export NDK_ROOT=/cygdrive/$android-ndk
source ~/.bashrc
ndk-build -B
CoCoS2D-X 다운로드
http://www.cocos2d-x.org
create-android-project.bat
set_CYGBIN=$cygwin
set_ANDROIDTOOLS=$android-sdk
set_NDKROOT=$android-ndk
실행
test.com.cocos2dx
testgame
1
sh build_native.sh
project from existing source
Eclipse
[Properties]
[Configure Project Specific Setting]
[Compiler compliance level] 1.6
res/drawable-hdpi/icon.png
X-Code
[Build Settings]
[Architectures] armv6
'DevTool > Cocos2D-X' 카테고리의 다른 글
cocos2d-x (0) | 2013.04.30 |
---|---|
Windows7 x64 cocos2d-x android cygwin (0) | 2012.10.04 |