Skip to content

Building how-to (requires old NDK) #43

Description

@mkrupczak3

On January 24, 2020 3:10:21 AM EST, vanta wrote:

Hello, I'm author of this issue: #40

I'm trying to compile the project right now, what version of build tools have you used? android-ndk, etc. Also, since there are no build instructions, are there some undocumented build steps that I should be aware of? (or it's simply ./build.sh and ./gradlew assembleRelease)

Hi Vanta,

#41

Thanks for your interest in this project

It's been a while since I have been able to "compile" a working version of this app due to Byzantine problems with the NDK during compilation

I think your best bet would be to look at my commit history, look at the time that I committed a "build" of the app, and then using whatever version of the NDK was latest during the time I built it.

So, you're right on the money for how to build it. Build.sh patches and compiles the C/C++ GZDOOM portions and other libraries, and gradle assemble builds the apk with the binaries you've built in build.sh

If you're on Linux/Mac or whatever, you'll need to remove the .bat from one of the last lines of build.sh. I had to add that since I was compiling on Windows.

I was dorking around recently and was able to find how to add armv8a as a build target, but I've since forgotten. I have the changes on one of my local environments, and could give them to you if you need (I was unable to get the app to compile though [using NDK 16b], hence why I've kind of rage quit this project for a minute. You probably won't have issues if you use the correct NDK version though)

This would be necessary before any new versions could be published on the play store

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions