You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to build an Android universal APK of any of my projects in RenPy-sdkarm running on a prooted Ubuntu inside Termux on an Android tablet, I had stumbled upon a peculiar issue:
Ren'Py 8.2.3.24061702
I'm compiling a short test program, to see if you have a working JDK on your system.
Java version: 21
Target version: 21
OK
The JDK is present and working. Good!
Updating project.
Creating assets directory.
Packaging internal data.
I'm using Gradle to build the package.
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.5/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build
> Task :app:preBuild UP-TO-DATE
> Task :app:preReleaseBuild UP-TO-DATE
> Task :renpyandroid:preBuild UP-TO-DATE
> Task :renpyandroid:preReleaseBuild UP-TO-DATE
> Task :app:javaPreCompileRelease
> Task :renpyandroid:writeReleaseAarMetadata
> Task :app:generateReleaseResValues
> Task :renpyandroid:generateReleaseResValues
> Task :renpyandroid:generateReleaseResources
> Task :app:checkReleaseAarMetadata
> Task :renpyandroid:packageReleaseResources
> Task :app:mapReleaseSourceSetPaths
> Task :app:generateReleaseResources
> Task :app:packageReleaseResources
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:extractDeepLinksRelease
> Task :renpyandroid:extractDeepLinksRelease
> Task :app:parseReleaseLocalResources
> Task :renpyandroid:compileReleaseLibraryResources
> Task :renpyandroid:parseReleaseLocalResources
> Task :renpyandroid:javaPreCompileRelease
> Task :app:extractProguardFiles
> Task :app:mergeReleaseResources FAILED
> Task :renpyandroid:processReleaseManifest
> Task :renpyandroid:processReleaseJavaRes NO-SOURCE
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:mergeReleaseResources'.
> Multiple task action failures occurred:
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> AAPT2 aapt2-8.2.0-10154469-linux Daemon #0: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> AAPT2 aapt2-8.2.0-10154469-linux Daemon #3: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> AAPT2 aapt2-8.2.0-10154469-linux Daemon #4: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> AAPT2 aapt2-8.2.0-10154469-linux Daemon #2: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2CompileRunnable
> AAPT2 aapt2-8.2.0-10154469-linux Daemon #1: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
* 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 https://help.gradle.org.
BUILD FAILED in 50s
18 actionable tasks: 18 executed
The build seems to have failed.
I tried to reinstall the Android SDK and RAPT multiple times
Tried different projects (The Question, freshly made dummy project, I Wani Hug That Gator)
Even tried nightly 8.3.0 builds with SDK 35
The error remains the same.
After many days of debugging I have discovered that RAPT provided me an Android SDK with build_tools (aapt2 in particular) compiled for x86_64 instead of aarch64
Expected result:
Successful build with arm RAPT Android SDK binaries in RenPy's sdkarm
Additional info:
Device: Xiaomi Pad 5
Termux: Latest F-Droid build
Ubuntu 24.04 LTS ARM
Kernel: Linux-6.2.1-PRoot-Distro
Aarch64 with glibc 2.39
RenPy version: 8.2.3.24061702 sdkarm
The text was updated successfully, but these errors were encountered:
While trying to build an Android universal APK of any of my projects in RenPy-sdkarm running on a prooted Ubuntu inside Termux on an Android tablet, I had stumbled upon a peculiar issue:
I tried to reinstall the Android SDK and RAPT multiple times
Tried different projects (The Question, freshly made dummy project, I Wani Hug That Gator)
Even tried nightly 8.3.0 builds with SDK 35
The error remains the same.
After many days of debugging I have discovered that RAPT provided me an Android SDK with build_tools (aapt2 in particular) compiled for x86_64 instead of aarch64
Expected result:
Successful build with arm RAPT Android SDK binaries in RenPy's sdkarm
Additional info:
Device: Xiaomi Pad 5
Termux: Latest F-Droid build
Ubuntu 24.04 LTS ARM
Kernel: Linux-6.2.1-PRoot-Distro
Aarch64 with glibc 2.39
RenPy version: 8.2.3.24061702 sdkarm
The text was updated successfully, but these errors were encountered: