Comment

Comment by dschuler

The very first releases of the NDK only supported ARMv6, but now it also supports ARMv7, x86, and MIPS. I actually compile my code for all 4 architectures, and end up with .so binaries in my APK:

lib/armeabi/libpuddle_drops.so

lib/armeabi-v7a/libpuddle_drops.so

lib/mips/libpuddle_drops.so

lib/x86/libpuddle_drops.so

This really takes no effort on my part, except to specify APP_ABI := all in one of the build files.

The system where the app is installed picks the preferred (or compatible) library automatically, which usually means ARMv7 with a fall-back to ARMv6 on low-end phones.

parent dschuler 14 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton