Skip to content

Verify both android libraries reach the APK - #17

Merged
jcant0n merged 1 commit into
mainfrom
android-smoke-leg
Aug 9, 2026
Merged

Verify both android libraries reach the APK#17
jcant0n merged 1 commit into
mainfrom
android-smoke-leg

Conversation

@jcant0n

@jcant0n jcant0n commented Aug 9, 2026

Copy link
Copy Markdown
Member

The README has said it plainly since this morning: "android-arm, android-arm64: not verified. Nothing installs the package on Android today." This is the leg that closes it, ported from Cesium.NET's, where it is green against the real .nupkg.

One APK, both ABIs

Where this differs from Cesium's single-ABI equivalent: the smoke project multi-targets android-arm;android-arm64, so a single build has to put both libraries in the APK —

  • lib/armeabi-v7a/libJoltC.so and lib/arm64-v8a/libJoltC.so present,
  • each over a megabyte (present-and-empty passes presence and nothing else),
  • and no other ABI alongside — a third one means the project asked for a runtime identifier JoltPhysicsC does not build.

The build succeeding proves none of that. A package can carry runtimes/android-*/native and lose them on the way into the APK — which is exactly the class of mistake this package shipped for months on wasm and iOS. So the leg opens the APK and looks.

Verified locally before pushing

APK is 22.2 MB and carries both libraries
  lib/arm64-v8a/libJoltC.so     27.0 MB uncompressed
  lib/armeabi-v7a/libJoltC.so   23.1 MB uncompressed
ABIs: exactly {armeabi-v7a, arm64-v8a}

The README row moves from "not verified" to the same wording as Cesium's, keeping the honest part: the libraries themselves are not executed.

One observation out of scope: those .so are 27 and 23 MB where the wasm archive is 3.7 — they likely carry debug info, the same thing CesiumC's android build stripped from 251 MB to 27. Worth a look in JoltPhysicsC someday; not this PR.

The README has said it plainly since this morning: android-arm and
android-arm64 ship and nothing verifies them. This is the leg that does,
ported from Cesium.NET's, where it is green against the real .nupkg.

One APK, both ABIs, which is where this differs from Cesium's single-ABI
equivalent: the smoke project multi-targets android-arm and
android-arm64, so a single build has to put lib/armeabi-v7a/libJoltC.so
and lib/arm64-v8a/libJoltC.so in the APK, each over a megabyte, with no
other ABI alongside. The build succeeding proves none of that -- a
package can carry runtimes/android-*/native and lose them on the way in
-- so the leg opens the APK and looks.

The activity is not run. No runner can execute an APK without an
emulator, and standing one up per release was decided against in Cesium
and holds here. The calls in MainActivity exist so the binding assembly
is genuinely referenced rather than trimmed, and the README row says the
libraries themselves are not executed.

Verified locally before pushing, against a package packed from this
branch: the APK carries both libraries, 27.0 MB and 23.1 MB uncompressed,
and exactly the two expected ABIs.
@github-actions

github-actions Bot commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

API gate: additive

Every symbol that existed still exists, unchanged. Nothing that compiled before stops compiling.

Target framework Added Removed
net10.0-ios +0 -0
net10.0 +0 -0

Enum and constant values are part of the measured surface: a renumbering keeps compiling and sends the wrong number to the driver, so it counts as a removal.

@jcant0n
jcant0n merged commit b7329b7 into main Aug 9, 2026
6 checks passed
@jcant0n
jcant0n deleted the android-smoke-leg branch August 9, 2026 13:59
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