Cutting a libGDX Android Build from 28MB to 9.3MB with R8
Going from a 28MB debug build to a 9.3MB Android bundle with R8, and the ProGuard keep-list that stopped the 3D engine from crashing on launch.
ReadThoughts on building systems that breathe. No fluff. No filler. Just the signal.
Going from a 28MB debug build to a 9.3MB Android bundle with R8, and the ProGuard keep-list that stopped the 3D engine from crashing on launch.
ReadA complete R8/ProGuard setup for Kotlin libGDX 3D games: what to flip in build.gradle, the full keep-list that protects JNI, g3d, and Scene2D, and why to leave minification off in debug builds.
ReadAdding rigged, animated glTF meshes to the gdx-gltf-KHR fork alongside compressed static geometry, and the two endianness/stride bugs that came with it.
ReadFour real bugs when adding gltfpack (Meshopt, quantization, WebP) support to gdx-gltf on Android: a BasisU global init crash, shared buffer views reading out of bounds, 12-bit UV grids, and WebP missing from libGDX's core.
Read