Replies: 2 comments
-
Great guide! Hopefully it gets more people compiling for Android. Also if your phone supports it, you can speed up compilation time by disabling compilation for ARMv7 with |
Beta Was this translation helpful? Give feedback.
0 replies
-
Updated the guide a little while ago to use command-line tools instead of Android Studio itself. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Have you ever wanted to compile your build of Friday Night Funkin' to an Android device? Possibly to recreate the nude bf build of the game that probably shouldn't be talked about or to fix real problems with FNF on the phone? Well I'll tell you how! Follow the steps below and you should get a working build of FNF.
Just know that this guide is made only for Android and Windows. If you're working with IOS or Apple or whatever, it's probably best to take a look at the official mobile compiling docs.
You also need to make sure that your FNF source code actually works. You can test this by compiling the game to desktop or web.
Instructions
setx ANDROID_HOME "C:\path\to\your\folder" /M
.cmdline-tools
to your Android Tools folder.cmdline-tools
into a folder calledlatest
, which is created inside ofcmdline-tools
.cmdline-tools\latest\bin
and runsdkmanager --install "build-tools;35.0.0" "ndk;29.0.13113456" "platforms;android-29" "platforms;android-35" "platform-tools"
.lime setup android
.When asked, use these:
C:\path\to\your\folder
.C:\path\to\your\folder\ndk\ndk-version
.C:\Program Files\Java\jdk-version
orC:\Program Files\Eclipse Adoptium\jdk-version
.project.hxp
, which is located in the game's source code folder, changePACKAGE_NAME
to your own (ex.com.username.fnf
). You do not have to follow this step if you don't have Friday Night Funkin' installed on your phone, but I suggest doing so anyway. If you have already successfully compiled the game to Android, but it's giving you the same problem for as if you never changedPACKAGE_NAME
, simply uninstall your compiled version of FNF Mobile and compile the game again.lime test android
.-DEXCLUDE_ARMV7
at the end of the command you are about to run.Conclusion
If this guide worked, great! If it didn't, then you should be able to ask somebody for help. I probably can't help because I'm not an expert at Android game compiling stuff.
Beta Was this translation helpful? Give feedback.
All reactions