Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.14.1
-
None
-
-
dd04fb639bf357e66d0586faed78a3043a62819e (qt/qtbase/5.14)
Description
When building the final apk (using Qt Creator or make apk), it complains about being unable to strip libraries:
Unable to strip library '.../android-build/build/intermediates/merged_native_libs/debug/out/lib/arm64-v8a/libfirebird-emu_arm64-v8a.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is. Unable to strip library '.../android-build/build/intermediates/merged_native_libs/debug/out/lib/arm64-v8a/libqml_QtQuick_Extras_qtquickextrasplugin_arm64-v8a.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is. Unable to strip library '.../android-build/build/intermediates/merged_native_libs/debug/out/lib/arm64-v8a/libplugins_styles_qandroidstyle_arm64-v8a.so' due to missing strip tool for ABI 'ARM64_V8A'. Packaging it as is.
This is because the path to the NDK is not passed to gradle. Setting ANDROID_NDK_HOME before running make apk makes the apk significantly smaller.