Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified android/libs/api.aar
Binary file not shown.
5 changes: 4 additions & 1 deletion run_build_tool_android.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@ gomobile init || go install golang.org/x/mobile/cmd/gomobile@latest
gomobile init

echo "Binding Bitbox to Android"
gomobile bind -o $1 -target=android -androidapi 24 .
# Force 16 KB ELF page alignment on the emitted .so libraries. Android 15+
# devices can use 16 KB memory pages and Google Play rejects bundles whose
# native code is only 4 KB aligned. `-extldflags` reaches the NDK linker.
gomobile bind -ldflags="-extldflags=-Wl,-z,max-page-size=16384" -o $1 -target=android -androidapi 24 .
Loading