Skip to content

Conversation

nikescar
Copy link

@nikescar nikescar commented Aug 5, 2025

this is android sdk workflow fix for android-ndk-r28c.

looks like android clang lib dir has changed name from lib64 to lib.

@nikescar
Copy link
Author

nikescar commented Aug 5, 2025

i have tested with this changes. it failed.

$ x build --arch arm64 --platform android
...
[2/3] Build rust `mobile` [316ms]
[3/3] Create apk
Error: failed to fill whole buffer

after replacing android sdk to stock it gives detail message. but it failed too.

[2/3] Build rust `mobile` [38580ms]
[3/3] Create apk
Error: unrecognized chunk ResChunkHeader { ty: 15076, header_size: 0, size: 514 }

after replace debug version of xbuild shows different error.

[2/3] Build rust `mobile` [377ms]
[3/3] Create apk
2025-08-05T15:06:11.485119Z ERROR log: thread 'main' panicked at 'assertion `left == right` failed
  left: 16
 right: 8': apk/src/res.rs:687 log.target="panic" log.module_path="log_panics" log.file="/home/wj/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/log-panics-2.1.0/src/lib.rs" log.line=130

@nikescar nikescar force-pushed the feat.android-ndk-r28c-fix branch from 3119b09 to b6189d2 Compare August 5, 2025 16:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant