We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I installed android toolchains and tried out the minimal example. The build just failed without much informative message. Here is the error log:
zig build-lib zig-app-template Debug arm-linux-android: error: error: FileNotFound zig build-lib zig-app-template Debug arm-linux-android: error: the following command exited with error code 1: /snap/zig/8241/zig build-lib /home/guest/capy/android/examples/minimal/main.zig -lGLESv2 -lEGL -landroid -llog -lOpenSLES -lc -fno-strip --eh-frame-hdr --emit-relocs -ffunction-sections --libc /home/guest/capy/android/zig-cache/o/772661454c1a207791cf82d527dbd848/android-21-armeabi.conf --cache-dir /home/guest/capy/android/zig-cache --global-cache-dir /home/guest/.cache/zig --name zig-app-template -dynamic -fcompiler-rt --export-table -target arm-linux-android -mcpu baseline --mod android:build_options:/home/guest/capy/android/android/src/android-support.zig --mod build_options::/home/guest/capy/android/zig-cache/android-sdk/o/da4e75a248e66d1fb50b480fabdb61a443cc0dc1/build_options.zig --deps android -D ANDROID -L /home/guest/AndroidSDK/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/arm-linux-androideabi/21 -fPIC --listen=- zig build-lib zig-app-template Debug aarch64-linux-android: error: error: FileNotFound zig build-lib zig-app-template Debug aarch64-linux-android: error: the following command exited with error code 1: /snap/zig/8241/zig build-lib /home/guest/capy/android/examples/minimal/main.zig -lGLESv2 -lEGL -landroid -llog -lOpenSLES -lc -fno-strip --eh-frame-hdr --emit-relocs -ffunction-sections --libc /home/guest/capy/android/zig-cache/o/c448dff7de25b11b419e5e2c87f3afe8/android-21-arm64.conf --cache-dir /home/guest/capy/android/zig-cache --global-cache-dir /home/guest/.cache/zig --name zig-app-template -dynamic -fcompiler-rt --export-table -target aarch64-linux-android -mcpu generic+el2vmsa+el3+v8a --mod android:build_options:/home/guest/capy/android/android/src/android-support.zig --mod build_options::/home/guest/capy/android/zig-cache/android-sdk/o/da4e75a248e66d1fb50b480fabdb61a443cc0dc1/build_options.zig --deps android -D ANDROID -L /home/guest/AndroidSDK/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/21 -fPIC --listen=- zig build-lib zig-app-template Debug x86-linux-android: error: error: FileNotFound zig build-lib zig-app-template Debug x86-linux-android: error: the following command exited with error code 1: /snap/zig/8241/zig build-lib /home/guest/capy/android/examples/minimal/main.zig -lGLESv2 -lEGL -landroid -llog -lOpenSLES -lc -fno-strip --eh-frame-hdr --emit-relocs -ffunction-sections -z notext --libc /home/guest/capy/android/zig-cache/o/53675ee38eb2f0ae617a7fc2c292f3e7/android-21-x86.conf --cache-dir /home/guest/capy/android/zig-cache --global-cache-dir /home/guest/.cache/zig --name zig-app-template -dynamic -fcompiler-rt --export-table -target x86-linux-android -mcpu pentium4 --mod android:build_options:/home/guest/capy/android/android/src/android-support.zig --mod build_options::/home/guest/capy/android/zig-cache/android-sdk/o/da4e75a248e66d1fb50b480fabdb61a443cc0dc1/build_options.zig --deps android -D ANDROID -L /home/guest/AndroidSDK/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/i686-linux-android/21 -fPIC --listen=- zig build-lib zig-app-template Debug x86_64-linux-android: error: error: FileNotFound zig build-lib zig-app-template Debug x86_64-linux-android: error: the following command exited with error code 1: /snap/zig/8241/zig build-lib /home/guest/capy/android/examples/minimal/main.zig -lGLESv2 -lEGL -landroid -llog -lOpenSLES -lc -fno-strip --eh-frame-hdr --emit-relocs -ffunction-sections --libc /home/guest/capy/android/zig-cache/o/fcc90ab1fe0cfa1912035de7e1ec31d5/android-21-x86_64.conf --cache-dir /home/guest/capy/android/zig-cache --global-cache-dir /home/guest/.cache/zig --name zig-app-template -dynamic -fcompiler-rt --export-table -target x86_64-linux-android -mcpu x86_64 --mod android:build_options:/home/guest/capy/android/android/src/android-support.zig --mod build_options::/home/guest/capy/android/zig-cache/android-sdk/o/da4e75a248e66d1fb50b480fabdb61a443cc0dc1/build_options.zig --deps android -D ANDROID -L /home/guest/AndroidSDK/ndk/25.1.8937393/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/x86_64-linux-android/21 -fPIC --listen=- Build Summary: 10/19 steps succeeded; 4 failed (disable with --summary none) install transitive failure ├─ install generated to app-template.apk transitive failure │ └─ run /home/guest/AndroidSDK/build-tools/33.0.1/zipalign (app-template.apk) transitive failure │ ├─ run zip_add (unaligned-app-template.apk) transitive failure │ │ ├─ zig build-lib zig-app-template Debug aarch64-linux-android failure │ │ ├─ zig build-lib zig-app-template Debug aarch64-linux-android (+2 more reused dependencies) │ │ ├─ zig build-lib zig-app-template Debug arm-linux-android failure │ │ ├─ zig build-lib zig-app-template Debug arm-linux-android (+2 more reused dependencies) │ │ ├─ zig build-lib zig-app-template Debug x86_64-linux-android failure │ │ ├─ zig build-lib zig-app-template Debug x86_64-linux-android (+2 more reused dependencies) │ │ ├─ zig build-lib zig-app-template Debug x86-linux-android failure │ │ └─ zig build-lib zig-app-template Debug x86-linux-android (+2 more reused dependencies) │ ├─ run zip_add (unaligned-app-template.apk) (+11 more reused dependencies) │ ├─ run zip_add (unaligned-app-template.apk) (+11 more reused dependencies) │ ├─ run zip_add (unaligned-app-template.apk) (+11 more reused dependencies) │ └─ run zip_add (unaligned-app-template.apk) (+11 more reused dependencies) └─ run /home/guest/AndroidSDK/build-tools/33.0.1/apksigner transitive failure ├─ run /home/guest/AndroidSDK/build-tools/33.0.1/zipalign (app-template.apk) (+6 more reused dependencies) └─ run /home/guest/AndroidSDK/build-tools/33.0.1/zipalign (app-template.apk) (+6 more reused dependencies) error: the following build command failed with exit code 1: /home/guest/capy/android/zig-cache/o/c413452fbd24ad7346207403f4147997/build /snap/zig/8241/zig /home/guest/capy/android /home/guest/capy/android/zig-cache /home/guest/.cache/zig -Dexample=minimal
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I installed android toolchains and tried out the minimal example. The build just failed without much informative message. Here is the error log:
The text was updated successfully, but these errors were encountered: