How Compile Android version with Cygwin [Faq]
|
11-07-2012, 09:24 PM
(This post was last modified: 11-10-2012 10:51 AM by MaXiMu.)
![]() |
|||
|
|||
How Compile Android version with Cygwin [Faq]
requirements
Cygwin Android SDK For windows NDK For windows JDK x86 for windows WinAnt Install 1. Cygwin - Need to install devel packages - Optional I recomended install one editor package Unix style -> nano or vim - Wait Download and install packages Depend you conexion and PC. ![]() ![]() ![]() ![]() ![]() ![]() ![]() 2 . path environment variables SDK/NDK -Once SDK and NDK downloaded and unzipped and installed JDK/Winant. -You need path variables SDK/NDK on cygwin - Doble click Cygwin terminal - edit .bashrc_profile in terminal Code: nano .bashrc_profile Add you path folder for Android-sdk/tools / Android-sdk/platforms-tools and android-ndk -> /cygdrive/letter partition/Folder/ Code: export PATH=${PATH}:/cygdrive/c/Android/android-sdk/platform-tools And update path Code: source .bash_profile Now download source Github in terminal Code: git clone https://github.com/hrydgard/ppsspp.git Download submodule Native Code: cd ppsspp Now edit in cd ppsspp/android Code: nano project.properties Code: target=android-16 And Code: nano ab.sh Code: NDK_MODULE_PATH=..:../native/ext ndk-build -j 3 Now need create build.xml for ant NOTE : You need download first API 16 In the cygwin you write Code: android.bat Wait load android SDK Manager -> select Android 4.1.2 (API 16) and install. ![]() Code: cd Now go to ppsspp/android Code: cd ppsspp/android Note : Wait Several minutes for compile libnativeaudio.so and ppssppjni.so If Correct See who are two files .so in the folder libs/armeabi-v7a Finally ant debug Code: Ant debug If you've gotten this far without error and you make the apk in / bin is that you've accomplished correctly. |
|||
« Next Oldest | Next Newest »
|