luckydog7 / Funkin-android

friday night funkin on android
Other
214 stars 119 forks source link

How do I export apks with the source code? #1775

Open Yoshobertos opened 3 years ago

Yoshobertos commented 3 years ago

How can I export apks with the source code? I'm porting a mod and I don't know how to export apks lol ;-;

CheddarChiNG commented 3 years ago

Build instructions first of all we need to set up haxe and haxeflixel read more here - https://github.com/ninjamuffin99/Funkin Install haxe 4.2.2 instead of 4.1.5 if you updated it dont froget execute this command 'haxelib upgrade' and press 'y' everywhere after that, download Android studio, Jdk, Ndk revision 15c from these sites jdk - https://www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html

android studio - https://developer.android.com/studio

ndk - https://developer.android.com/ndk/downloads/older_releases?hl=fi

install jdk, android studio

unzip ndk (ndk does not need to be installed) we need to set up android studio for this go to android studio and find android sdk (in settings -> Appearance & Behavior -> system settings -> android sdk)

104179652-44346000-541d-11eb-8ad1-1e4dfae304a8

104179943-a9885100-541d-11eb-8f69-7fb5a4bfdd37

and run command lime setup android

you need to insert the program paths

as in this picture (use jdk, not jre)

104179268-9e80f100-541c-11eb-948d-a00d85317b1a

open project in command line cd (path to fnf source) and run command lime build android -final apk will be generated in this path (path to source)\export\release\android\bin\app\build\outputs\apk\debug\Funkin-debug.apk

Yoshobertos commented 3 years ago

thanks :)