Home > Software engineering >  Unable to strip library *.so due to missing strip tool for ABI 'X86_64'. Packaging it as i
Unable to strip library *.so due to missing strip tool for ABI 'X86_64'. Packaging it as i

Time:12-15

Today I noticed that I get warnings while building a QT app for Android:

Unable to strip library *.so due to missing strip tool for ABI 'X86_64'. Packaging it as is.

What tool is missing? Does it try to strip debug info or something else?

I have enter image description here

the app is built with NDK 22.1.7171670.

I also have command line tools and CMake installed:

enter image description here

EDIT1

With ARM builds I got the same warnings, also I noticed that there are warnings like

> Task :extractReleaseNativeSymbolTables
Unable to extract native debug metadata from E:\repos\examples\src\MyApp\build\intermediates\merged_native_libs\release\out\lib\x86_64\libc  _shared.so
because unable to locate the objcopy executable for the x86_64 ABI.

so I have an impression that Gradle cannot locate strip.exe and objcopy.exe tools for some reason.

Another question is does Google app store strip debug information automatically?

CodePudding user response:

It was a wrong Gradle configuration. I updated Android Temple with QT Creator and stripReleaseDebugSymbols started to work.

  • Related