Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Android 16kb page size and plugins
Forum Updated to NodeBB v4.3 + New Features

Android 16kb page size and plugins

Scheduled Pinned Locked Moved Solved Mobile and Embedded
11 Posts 3 Posters 444 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • mrdebugM Offline
    mrdebugM Offline
    mrdebug
    wrote last edited by mrdebug
    #2

    In order to upload to google play an app based on Qt6.9.3, the ffmpeg library must be replaced because it is not 16kb aligned.

    To build ffmpeg for Android 16 kb follow the steps below.

    git clone https://github.com/Javernaut/ffmpeg-android-maker.git
    export ANDROID_SDK_HOME=/opt/Android/android-sdk-linux/
    export ANDROID_NDK_HOME=/opt/Android/android-sdk-linux/ndk/27.2.12479018
    

    edit the file scripts/parse-arguments.sh
    change the value SOURCE_VALUE=7.1.1

    edit the file scripts/ffmpeg/build.sh
    at the row ./configure \

    ./configure \
      --enable-jni \
      --enable-mediacodec \
    

    Now all is ready to build

    ./ffmpeg-android-maker.sh -abis=arm64-v8a
    

    replace the ffmpeg library in /opt/Qt/6.9.3/android_arm64_v8a/lib/

    In order to have an app 16kb aligned put in the .pro file the rows

    android {
        QMAKE_LFLAGS += -Wl,-z,max-page-size=16384 -Wl,-z,common-page-size=16384
    }
    
    

    If OpenSSL is required the problem is the same so

    git clone https://github.com/openssl/openssl.git
    git checkout openssl-3.6
    
    export ANDROID_NDK=/opt/Android/android-sdk-linux/ndk/21.3.6528147/
    export API=35
    export ARCH=arm64-v8a
    export PATH=/opt/Android/android-sdk-linux/ndk/21.3.6528147/toolchains/llvm/prebuilt/linux-x86_64/bin/:$PATH
    
    ./Configure android-arm64
    
    make -j 8
    

    and replace the library in /opt/Android/android-sdk-linux/android_openssl/ssl_3/arm64-v8a/

    In order to verify if the app and all its libraries is 16kb aligned

    git clone https://github.com/hotbrainstech/verify-16k-page-align.git
    ./verify-16k-page-align.sh QtApp.apk
    

    Need programmers to hire?
    www.labcsp.com
    www.denisgottardello.it
    GMT+1
    Skype: mrdebug

    1 Reply Last reply
    1
    • mrdebugM mrdebug has marked this topic as solved
    • SGaistS SGaist referenced this topic
    • C Offline
      C Offline
      Cagnulein
      wrote last edited by
      #3

      @mrdebug beside the ffmpeg and openssl, should we need to build qt from scratch if we want 16k support ? or the qt 6.10 android binary are already ok? because i still see this with qt 6.10
      image.png

      Thanks

      1 Reply Last reply
      0
      • mrdebugM Offline
        mrdebugM Offline
        mrdebug
        wrote last edited by
        #4

        Hi, I haven't tried Qt6.10 but I think its libraries are already 16kb aligned.
        If you want to know witch libraries are not aligned (after having build the app) try

        git clone https://github.com/hotbrainstech/verify-16k-page-align.git
        ./verify-16k-page-align.sh QtApp.apk
        

        If the not aligned library is the app library, try to put in your .pro file

        android {
            QMAKE_LFLAGS += -Wl,-z,max-page-size=16384 -Wl,-z,common-page-size=16384
        }
        

        Need programmers to hire?
        www.labcsp.com
        www.denisgottardello.it
        GMT+1
        Skype: mrdebug

        1 Reply Last reply
        0
        • C Offline
          C Offline
          Cagnulein
          wrote last edited by
          #5

          thanks @mrdebug

          this is interesting

          ./verify-16k-page-align.sh /mnt/c/Work/qdomyos-zwift-qt6-android/build-android/android-build/build/outputs/apk/debug/android-build-debug.apk
          
          Recursively analyzing /mnt/c/Work/qdomyos-zwift-qt6-android/build-android/android-build/build/outputs/apk/debug/android-build-debug.apk
          
          === ELF alignment ===
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_multimedia_ffmpegmediaplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickControls2_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_qmltooling_qmldbg_native_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_Qt_labs_platform_labsplatformplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtWebView_qtwebviewquickplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_imageformats_qsvg_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Svg_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Multimedia_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Controls_Universal_qtquickcontrols2universalstyleplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Controls_Material_qtquickcontrols2materialstyleplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Quick_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Dialogs_qtquickdialogsplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Shapes_qmlshapesplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_tls_qcertonlybackend_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_imageformats_qtga_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_qmltooling_qmldbg_preview_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_qmltooling_qmldbg_debugger_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_styles_qandroidstyle_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_qmltooling_qmldbg_profiler_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_texttospeech_qttexttospeech_android_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickDialogs2Utils_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickControls2BasicStyleImpl_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickControls2Universal_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_webview_qtwebview_android_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_position_qtposition_positionpoll_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickControls2FluentWinUI3StyleImpl_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_Qt_labs_settings_qmlsettingsplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_geoservices_qtgeoservices_osm_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Effects_effectsplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QmlModels_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickTemplates2_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_qmltooling_qmldbg_inspector_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Controls_FluentWinUI3_impl_qtquickcontrols2fluentwinui3styleimplplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Network_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Concurrent_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_imageformats_qwebp_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickControls2Basic_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Controls_Basic_qtquickcontrols2basicstyleplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Location_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_imageformats_qgif_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6MultimediaWidgets_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtLocation_declarative_locationplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_imageformats_qico_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_geoservices_qtgeoservices_itemsoverlay_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libavcodec.so: UNALIGNED (2**12)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Charts_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Controls_Imagine_impl_qtquickcontrols2imaginestyleimplplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_tls_qopensslbackend_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickDialogs2_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6FFmpegStub-crypto_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickControls2ImagineStyleImpl_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6OpenGLWidgets_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Qml_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6LabsPlatform_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickControls2Fusion_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_networkinformation_qandroidnetworkinformation_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6WebViewQuick_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6WebSockets_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_iconengines_qsvgicon_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Window_quickwindowplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_position_qtposition_nmea_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Sql_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_qmltooling_qmldbg_messages_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Controls_Universal_impl_qtquickcontrols2universalstyleimplplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6SerialPort_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6VirtualKeyboard_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6WebView_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQml_qmlplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libavutil.so: UNALIGNED (2**12)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libswscale.so: UNALIGNED (2**12)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_position_qtposition_android_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Controls_Material_impl_qtquickcontrols2materialstyleimplplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6LabsQmlModels_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Controls_qtquickcontrols2plugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Positioning_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtPositioning_positioningquickplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_qmltooling_qmldbg_server_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_imageformats_qicns_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Controls_Fusion_qtquickcontrols2fusionstyleplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_qmltooling_qmldbg_tcp_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Bluetooth_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickControls2Material_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_qmltooling_qmldbg_quick3dprofiler_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickControls2Impl_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickControls2FusionStyleImpl_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Layouts_qquicklayoutsplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_platforms_qtforandroid_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_imageformats_qwbmp_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libc++_shared.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Dialogs_quickimpl_qtquickdialogs2quickimplplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6PositioningQuick_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6LabsFolderListModel_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickDialogs2QuickImpl_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_qtquick2plugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6FFmpegStub-ssl_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QmlMeta_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libssl_1_1.so: UNALIGNED (2**12)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Controls_Imagine_qtquickcontrols2imaginestyleplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_Qt_labs_qmlmodels_labsmodelsplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Quick3DUtils_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6LabsSettings_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Gui_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_sqldrivers_qsqlite_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6LabsAnimation_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Controls_Fusion_impl_qtquickcontrols2fusionstyleimplplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickLayouts_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6ChartsQml_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6NetworkAuth_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libavformat.so: UNALIGNED (2**12)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickEffects_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_qmltooling_qmldbg_quickprofiler_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Controls_FluentWinUI3_qtquickcontrols2fluentwinui3styleplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_texttospeech_qtexttospeech_mock_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_qmltooling_qmldbg_local_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6MultimediaQuick_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6TextToSpeech_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Controls_Basic_impl_qtquickcontrols2basicstyleimplplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Widgets_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Templates_qtquicktemplates2plugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtMultimedia_quickmultimediaplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickShapes_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQuick_Controls_impl_qtquickcontrols2implplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libswresample.so: UNALIGNED (2**12)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickControls2MaterialStyleImpl_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_imageformats_qtiff_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickControls2Imagine_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6OpenGL_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_imageformats_qjpeg_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_Qt_labs_animation_labsanimationplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_multimedia_androidmediaplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQml_Models_modelsplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtQml_WorkerScript_workerscriptplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Core_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_platforminputcontexts_qtvirtualkeyboardplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_QtCharts_qtchartsqml2plugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QmlWorkerScript_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libplugins_qmltooling_qmldbg_nativedebugger_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6HttpServer_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqdomyos-zwift_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libcrypto_1_1.so: UNALIGNED (2**12)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6Xml_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libqml_Qt_labs_folderlistmodel_qmlfolderlistmodelplugin_arm64-v8a.so: ALIGNED (2**14)
          /tmp/android-build-debug_out_Elwpq/lib/arm64-v8a/libQt6QuickControls2UniversalStyleImpl_arm64-v8a.so: ALIGNED (2**14)
          

          why android instead gives me an unknown error? I was expecting errors on FFMPEG and OPENSSL. Did you see something similar?
          Thanks

          1 Reply Last reply
          0
          • mrdebugM Offline
            mrdebugM Offline
            mrdebug
            wrote last edited by
            #6

            Maybe Android gives a generic error. You should follow the steps above to compile and replace ffmpeg and openssl.

            Need programmers to hire?
            www.labcsp.com
            www.denisgottardello.it
            GMT+1
            Skype: mrdebug

            1 Reply Last reply
            0
            • C Offline
              C Offline
              Cagnulein
              wrote last edited by
              #7

              thanks I will give it a go and I will report back!

              1 Reply Last reply
              0
              • C Offline
                C Offline
                Cagnulein
                wrote last edited by
                #8

                @mrdebug you were right! ffmpeg and openssl built with your steps and the warning went away! thanks

                1 Reply Last reply
                0
                • F Offline
                  F Offline
                  Fariz
                  wrote last edited by Fariz
                  #9

                  Hi! I built the .so files as described above and replaced them in the Qt/6.9.3/android_arm64_v8a/lib/ folder. After building the app at runtime, I get the following error:

                  17:47:45.666 QtLoader                 E  Can't find '/data/app/~~0Hoq1vessYBuQ_ByWKgI2w==/com.qt.app-TwTMdJ0LzrpZCKZzVDmK7A==/lib/arm64/libQt6FFmpegStub-crypto_arm64-v8a.so'
                  17:47:45.666 QtLoader                 E  Loading Qt native libraries failed
                  

                  The app crashes immediately after launch. Has anyone encountered this problem?

                  1 Reply Last reply
                  0
                  • mrdebugM Offline
                    mrdebugM Offline
                    mrdebug
                    wrote last edited by
                    #10

                    Have you choose the right ffmpeg version?

                    Need programmers to hire?
                    www.labcsp.com
                    www.denisgottardello.it
                    GMT+1
                    Skype: mrdebug

                    1 Reply Last reply
                    0
                    • F Offline
                      F Offline
                      Fariz
                      wrote last edited by
                      #11

                      @mrdebug Yes, I changed SOURCE_VALUE=7.1.1 as indicated above, ffmpeg-7.1.1 was downloaded

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved