Hi,
When I am trying to export to Android then I am getting following error message:
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:bundleReleaseResources'.
> A failure occurred while executing com.android.build.gradle.internal.res.Aapt2ProcessResourcesRunnable
> Android resource linking failed
aapt2 E 11-02 15:46:50 16761 16761 LoadedArsc.cpp:94] RES_TABLE_TYPE_TYPE entry offsets overlap actual entry data.
aapt2 E 11-02 15:46:50 16761 16761 ApkAssets.cpp:149] Failed to load resources table in APK '/home/ccpplinux/Android/Sdk/platforms/android-35/android.jar'.
error: failed to load include path /home/ccpplinux/Android/Sdk/platforms/android-35/android.jar.
* 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.
BUILD FAILED in 11s
Exec returned: 1
Export failed! See details above.
Can you please help me to fix this error?
Comments
Likes: MoKaLux
Likes: MoKaLux
- android target version 33 -> build ok, install ok
- android target version 34 -> build ok, install ok
I don't have any linux machine to try
Please note: I tested an app which has no plugins (admob, ...). That worked fine.
I tried with another app, initially not targeted at android and I could export it, install it but it crashed upon launching (didn't investigate why).
So we would need some more details to pinpoint your issue
What system? any plugins?
You could also launch Android Studio, connect your phone to Android Studio, launch your app. The Android Studio logs will tell you what went wrong.
Hope this helps?!
do you have any plugins in your app?
have you tried android studio debug logs?
Let me try to walk you through it
Some users using Gideros on Linux may help
PS: please note Linux has been added not so long ago
PS2: it seems to be working fine on Linux Debian 11, ZorinOS, Arch Linux, Ubuntu
PS3: it seems to have some issues with Linux Mint
Likes: MoKaLux