Do you have the 64-bit JDK installed?
Yes. I installed "jre-8u191-windows-x64.exe" first and then "jdk-8u191-windows-x64.exe".
This is the full error message I'm getting now:
Ren'Py 7.1.3.1092
Updating project.
Creating assets directory.
Packaging internal data.
I'm using Gradle to build the package.
Starting a Gradle Daemon (subsequent builds will be faster)
:app

reBuild UP-TO-DATE
:renpyandroid

reBuild UP-TO-DATE
:renpyandroid

reReleaseBuild UP-TO-DATE
:renpyandroid:checkReleaseManifest UP-TO-DATE
:renpyandroid

rocessReleaseManifest UP-TO-DATE
:app

reReleaseBuild UP-TO-DATE
:renpyandroid:compileReleaseAidl UP-TO-DATE
:app:compileReleaseAidl UP-TO-DATE
:renpyandroid

ackageReleaseRenderscript NO-SOURCE
:app:compileReleaseRenderscript UP-TO-DATE
:app:checkReleaseManifest UP-TO-DATE
:app:generateReleaseBuildConfig UP-TO-DATE
:app

repareLintJar UP-TO-DATE
:app:mainApkListPersistenceRelease UP-TO-DATE
:app:generateReleaseResValues UP-TO-DATE
:app:generateReleaseResources UP-TO-DATE
:renpyandroid:compileReleaseRenderscript UP-TO-DATE
:renpyandroid:generateReleaseResValues UP-TO-DATE
:renpyandroid:generateReleaseResources UP-TO-DATE
:renpyandroid

ackageReleaseResources UP-TO-DATE
:app:mergeReleaseResources UP-TO-DATE
:app:createReleaseCompatibleScreenManifests UP-TO-DATE
:app

rocessReleaseManifest UP-TO-DATE
:app:splitsDiscoveryTaskRelease UP-TO-DATE
:renpyandroid

latformAttrExtractor UP-TO-DATE
:renpyandroid:generateReleaseRFile UP-TO-DATE
:app

rocessReleaseResources UP-TO-DATE
:app:generateReleaseSources UP-TO-DATE
:renpyandroid:generateReleaseBuildConfig UP-TO-DATE
:renpyandroid

repareLintJar UP-TO-DATE
:renpyandroid:generateReleaseSources UP-TO-DATE
:renpyandroid:javaPreCompileRelease UP-TO-DATE
:renpyandroid:compileReleaseJavaWithJavac UP-TO-DATE
:renpyandroid

rocessReleaseJavaRes NO-SOURCE
:renpyandroid:transformClassesAndResourcesWithPrepareIntermediateJarsForRelease UP-TO-DATE
:app:javaPreCompileRelease UP-TO-DATE
:app:compileReleaseJavaWithJavac UP-TO-DATE
:app:compileReleaseNdk NO-SOURCE
:app:compileReleaseSources UP-TO-DATE
:app:lintVitalRelease
:app:mergeReleaseShaders UP-TO-DATE
:app:compileReleaseShaders UP-TO-DATE
:app:generateReleaseAssets UP-TO-DATE
:renpyandroid:mergeReleaseShaders UP-TO-DATE
:renpyandroid:compileReleaseShaders UP-TO-DATE
:renpyandroid:generateReleaseAssets UP-TO-DATE
:renpyandroid

ackageReleaseAssets UP-TO-DATE
:app:mergeReleaseAssets
:app:transformClassesWithDexBuilderForRelease UP-TO-DATE
:app:transformDexArchiveWithExternalLibsDexMergerForRelease UP-TO-DATE
:app:transformDexArchiveWithDexMergerForRelease UP-TO-DATE
:app:mergeReleaseJniLibFolders UP-TO-DATE
:renpyandroid:compileReleaseNdk NO-SOURCE
:renpyandroid:mergeReleaseJniLibFolders UP-TO-DATE
:renpyandroid:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:renpyandroid:transformNativeLibsWithIntermediateJniLibsForRelease UP-TO-DATE
:app:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:app

rocessReleaseJavaRes NO-SOURCE
:app:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:app:validateSigningRelease UP-TO-DATE
:app

ackageRelease
Expiring Daemon because JVM Tenured space is exhausted
Daemon will be stopped at the end of the build after running out of JVM memory
Expiring Daemon because JVM Tenured space is exhausted
FAILURE: Build failed with an exception.
* What went wrong:
Gradle build daemon has been stopped: JVM garbage collector thrashing and after running out of JVM memory
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at
You must be registered to see the links
The build seems to have failed.