How to compile for android?

  • TBG
    3rd December Member 0 Permalink

    Simple but hard task, how to compile the game for android to an apk? I've seen a few forum posts, but none helped me. Im looking for a way to compile on windows, or if its simpler on linux then ill take it.

    Any help would help me out.

    Thanks!

  • jacob1
    3rd December Developer 0 Permalink
    I wouldn't recommend it, in the state it currently is. The old (current) official port is going away soon, and the new port isn't ready yet.

    For compiling the old (current) port, the source code is actually my mod.
    Some basic compiling instructions are here.

    I think my instructions are still roughly accurate, but some of the links changed. The sdk / ndk process was pretty different when I did it most recently. I can help if you get any problems.


    If you want to compile the new port, a bunch of basic features aren't working yet. I actually don't know how to compile it ... (definitely will be figuring that out after 99.0 releases though).
  • TBG
    4th December Member 0 Permalink

    Alright, thanks!

     

    Honestly, i can't blame you, you probably don't have alot of time to update it. I'll just see if i can get most research done myself.

     

    But other than that, the only issue I found is android.sh not existing (or im just too dumb to find it)

    Edited 2 times by TBG. Last: 4th December
  • jacob1
    4th December Developer 0 Permalink
    @TBG (View Post)
    That's one of the packaging changes I noticed. The SDK is totally different than how it was when I wrote the guide. I think the last time, I couldn't even find the GUI I normally used (it wanted me to install an entire IDE to manage everything). Just do whatever, there's command line ways or GUI ways to get all the components installed.
  • TBG
    4th December Member 0 Permalink

    Alr, ill see what I can do.