I have android application which used native code, we will compile and generate .so library based on X86 or arm processor based devices.
My question is once APK is installed in X86 Android device and running, how to check if .so library bundle with APK, is x86 based or arm based ??
Example Lets say User has APK + native code compiled for arm processor. now User installed this APK in android X86 devices. So My Question is how to find that app is using arm based native code while it is running in that X86 device ?
[ As I know in X86 based processor support both arm as well x86 based libraries so for those devices it is very hard to determine.] [ for arm processor based devices, they didn't support x86 based libraries or .so so at install time it will throw error mismatch AIBS type.]
I tried "adb shell cat /proc/cpuinfo", but didn't find any thing relevant.
Please help me in this. All edits are welcome.