-1

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 NDK (Side by side) installed:

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?

Dmitriano
  • 1,878
  • 13
  • 29
  • i want to colaborate with you to build an app with qt please – rnewed_user Dec 10 '21 at 20:50
  • @rn3w hi! what kind of collaboration are you interested in? – Dmitriano Dec 10 '21 at 20:59
  • programing with c++ qt building an android app – rnewed_user Dec 10 '21 at 21:00
  • @rn3w how can I help? Leave me message via my website https://developernote.com/contact/ – Dmitriano Dec 10 '21 at 21:04
  • X86_64 definitely cannot refer to ARM processor which most of Androids are using. Only Intel Atom based Android could probably relate to X86_64. But that one is quite rare. – Alexander V Dec 11 '21 at 04:54
  • @AlexanderV it is for testing on the emulator – Dmitriano Dec 11 '21 at 05:08
  • @Dmitriano is emulator running ARM-based Android or Intel-based? – Alexander V Dec 11 '21 at 06:03
  • @AlexanderV I am not sure what do you mean by '-based`, could you clarify please? – Dmitriano Dec 11 '21 at 06:14
  • @Dmitriano that emulator is to emulate other processor code to run on your computer CPU. You need to know what other processor code supposed to run in Android emulator. Most frequently it is ARM processor code and all that runs in emulator as Linux, Android OS, apps and their libraries supposed to be for ARM. What X86_64 stands for is about Intel/AMD architecture. That binary library cannot be accepted on the wrong emulator which is intended for ARM. – Alexander V Dec 11 '21 at 17:03

1 Answers1

0

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

Dmitriano
  • 1,878
  • 13
  • 29