今天我注意到在為 Android 構建 QT 應用程式時收到警告:
Unable to strip library *.so due to missing strip tool for ABI 'X86_64'. Packaging it as is.
缺少什么工具?它是否嘗試剝離除錯資訊或其他內容?
我安裝了
該應用程式使用 NDK 22.1.7171670 構建。
我還安裝了命令列工具和 CMake:

編輯1
使用 ARM 構建時,我收到了相同的警告,我也注意到有類似的警告
> 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.
所以我的印象是 Gradle由于某種原因無法定位strip.exe和objcopy.exe工具。
另一個問題是谷歌應用商店會自動剝離除錯資訊嗎?
uj5u.com熱心網友回復:
這是一個錯誤的 Gradle 配置。我用 QT Creator 更新了 Android Temple 并stripReleaseDebugSymbols開始作業。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qukuanlian/382091.html
標籤:qt android-ndk
