Is there any way of inspecting static library for android? For example for iOS static libraries we can simply call :
lipo -info mylib.a
and it will display the architectures of mylib.a library. If there any similar way for android static library to see the ABIs of the library? If I run lipo -info on android static library I get error.
Any similar command? Thanks in advance.
I can think of two methods based on what is available on your host machine.
objdump. Something like objdump -x somelib.a | grep archExpected output: architecture: < arch name>
readelf. Something like readelf -h somelib.a | grep ClassExpected output: Class: <32/64 bit etc>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With