GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — build: bump JNA to 5.19.1 for 16KB alignment and drop unnecessary ABIs by youngjoon-lee · Pull Request #9 · atman-project/beam-android

Conversation

@youngjoon-lee

@youngjoon-lee youngjoon-lee commented Jul 16, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Play Console rejected versionCode 3 with "Your app does not support 16 KB memory page sizes", pointing at base/lib/x86_64/libjnidispatch.so. The atman bump in d01b63e was correct but incomplete -- libatman.so is 16 KB aligned on both 64-bit ABIs, JNA's prebuilt library was not:

    OK    0x10000  arm64-v8a/libjnidispatch.so
    FAIL  0x1000   x86_64/libjnidispatch.so

JNA added -Wl,-z,max-page-size=16384 to its Android link in 5.16.0 (java-native-access/jna#1654) and finished the fix in 5.17.0 (java-native-access/jna#1647). So, this PR bumps JNA to the latest 5.19.1.

Also restricted abiFilters to the three ABIs build_atman.sh actually produces. The JNA aar ships libjnidispatch.so for every ABI it knows about, which pulled armeabi, mips, mips64 and x86 into the bundle as splits containing JNA but no libatman.so -- x86 devices would install and then crash on load.

Plus, added check_16kb.py to the workflows in order to verify segment alignment

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@youngjoon-lee
build: bump JNA to 5.19.1 for 16KB alignment and drop unnecessary ABIs
e5849be
@youngjoon-lee youngjoon-lee self-assigned this Jul 16, 2026
youngjoon-lee added 2 commits July 16, 2026 10:00
@youngjoon-lee
add check_16kb.py to workflows
8e30d1f
@youngjoon-lee
do not bump versionCode now
1d61223
@youngjoon-lee
youngjoon-lee merged commit 5d8aa98 into main Jul 16, 2026
2 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@youngjoon-lee
youngjoon-lee deleted the jni-16kb-alignment branch July 16, 2026 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@youngjoon-lee youngjoon-lee

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@youngjoon-lee
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.