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
With the alpine image, I had these error in gradle android compilation :
AAPT2 aapt2-7.2.1-7984345-linux Daemon #0: Unexpected error output: Error relocating /lib/ld-linux-x86-64.so.2: unsupported relocation type 37
AAPT2 aapt2-7.2.1-7984345-linux Daemon #0: Unexpected error output: Error relocating /root/.gradle/caches/transforms-3/634adca50f1f0c077bf361fd31a46926/transformed/aapt2-7.2.1-7984345-linux/aapt2: __memcpy_chk: symbol not found
AAPT2 aapt2-7.2.1-7984345-linux Daemon #0: Unexpected error output: Error relocating /root/.gradle/caches/transforms-3/634adca50f1f0c077bf361fd31a46926/transformed/aapt2-7.2.1-7984345-linux/aapt2: __fprintf_chk: symbol not found
....
Failed to transform appcompat-1.5.1.aar (androidx.appcompat:appcompat:1.5.1) to match attributes {artifactType=android-compiled-dependencies-resources, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.
Execution failed for AarResourcesCompilerTransform: /root/.gradle/caches/transforms-3/e53fdcfb0cc4f901b8905ecf8ff1bffa/transformed/appcompat-1.5.1.
> AAPT2 aapt2-7.2.1-7984345-linux Daemon #1: Daemon startup failed
This should not happen under normal circumstances, please file an issue if it does.
...
I had to revert back your dockerfile to glibc 2.34
Cool, thanks for letting me know. Can you create a PR for that please?
Bare in mind, that official support is only given via ubuntu with proper glibc support. There are more issues in alpine which might be invisible at first glance.
We use a custom image based on your image in a context of jenkins ci pipeline on kubernetes (compile, Unit test, quality analysis, and publish) so we don't use emulator.
For information, due to this issue on glibc 2.35-r0 : sgerrand/alpine-pkg-glibc#176
With the alpine image, I had these error in gradle android compilation :
I had to revert back your dockerfile to glibc 2.34
The text was updated successfully, but these errors were encountered: