GNU strip to remove debug info in a .so (Android)

2019-09-04 12:09发布

问题:

I am trying to clean debug information in final .so file for Android.

Trying

strip.exe -s myLib.so

but it returns

strip.exe: Unable to recognise the format of the input file

Compiler is arm-linux-androideabi-g++ (under QtCreator)

Am I using the correct tool?