How to select an executable binary for appropriate architecture?

180 Views Asked by At

I created an executable binary for arm64-v8a,armeabi-v7a,x86 and x86_64. But how can i choose which binary to run on a device?

1

There are 1 best solutions below

7
On BEST ANSWER

I assume you mean you created a .so file for a library? If so, the device will choose the correct one to use when you load the library, based on the device's chipset. If you mean you built a linux executable program, then you only upload the appropriate type, as anything else will not run.