As part of my app I\'m using the NDK and was wondering if it\'s worth bundling x86 and mips binaries alongside the standard ARM binaries.
I figured the best way woul
Actually, you can get the architecture without the need for reflexion at all:
String arch = System.getProperty("os.arch");
From my tests it returned armv71 and i686.
armv71
i686
EDIT:
On MIPS architecture, it either returns 'mips' or 'mips64'
On 64 bit ARM/Intel, it returns 'aarch64' or 'x86_64' respectively.