Page 1 of 1

Build an apk file on macOS

Posted: Sat Feb 23, 2019 8:53 pm
by Abstraction
Hello,
I am following the tutorial https://love2d.org/wiki/Game_Distribution#Using_APKTool on the website.
However I have the following error after running

Code: Select all

./gradlew build
on macOS Mojave:

Code: Select all

FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '11.0.2'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
How to deal with this problem?

Re: Build an apk file on macOS

Posted: Sun Feb 24, 2019 8:07 am
by grump
Abstraction wrote: Sat Feb 23, 2019 8:53 pm Could not determine java version from '11.0.2'.
(Disclaimer: I don't know anything about this) - Is this supposed to be a LÖVE version? 11.0.2 is not a valid version. Try 11.2.0 or 11.2. Or maybe you don't have the required Java version?