Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Application Deployment On Android Issue.
Forum Updated to NodeBB v4.3 + New Features

Application Deployment On Android Issue.

Scheduled Pinned Locked Moved Solved General and Desktop
7 Posts 4 Posters 750 Views 1 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.
  • K Offline
    K Offline
    KiranRudigi
    wrote on last edited by
    #1

    Hi all,
    There is a problem on deploying an application on Android and application gets crashed when I include the following piece of code in .pro file. This code is mandate to deploy application on Android. Help me to solve it.

    contains(ANDROID_TARGET_ARCH,armeabi-v7a) {
    ANDROID_EXTRA_LIBS =
    $$PWD/android/libs/libABC.so
    $$PWD/android/libs/libXYZ.so
    }

    Thank you

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      when you deploy the apk you should be getting some error on the application windows. What is that error ? Can you check ? Does it say failing to load some ".so" files ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      K 1 Reply Last reply
      1
      • dheerendraD dheerendra

        when you deploy the apk you should be getting some error on the application windows. What is that error ? Can you check ? Does it say failing to load some ".so" files ?

        K Offline
        K Offline
        KiranRudigi
        wrote on last edited by
        #3

        @dheerendra
        Yes the error message is saying that libQt5Network.so is missing.

        RatzzR 1 Reply Last reply
        0
        • K KiranRudigi

          @dheerendra
          Yes the error message is saying that libQt5Network.so is missing.

          RatzzR Offline
          RatzzR Offline
          Ratzz
          wrote on last edited by
          #4

          @KiranRudigi said in Application Deployment On Android Issue.:

          error message is saying that libQt5Network.so is missing.

          Did you use androiddeployqt for deployment ?
          http://doc.qt.io/qt-5/deployment-android.html#androiddeployqt

          --Alles ist gut.

          1 Reply Last reply
          3
          • dheerendraD Offline
            dheerendraD Offline
            dheerendra
            Qt Champions 2022
            wrote on last edited by dheerendra
            #5

            look like you missed adding network in your pro file configuration. Can you check it ? If it is not added, android deployment will not include that in library bundling.

            Dheerendra
            @Community Service
            Certified Qt Specialist
            http://www.pthinks.com

            K 1 Reply Last reply
            3
            • dheerendraD dheerendra

              look like you missed adding network in your pro file configuration. Can you check it ? If it is not added, android deployment will not include that in library bundling.

              K Offline
              K Offline
              KiranRudigi
              wrote on last edited by
              #6

              @dheerendra
              yes I had missed to include it in pro file. Now it's working fine. Thanks for your help.

              Pablo J. RoginaP 1 Reply Last reply
              0
              • K KiranRudigi

                @dheerendra
                yes I had missed to include it in pro file. Now it's working fine. Thanks for your help.

                Pablo J. RoginaP Offline
                Pablo J. RoginaP Offline
                Pablo J. Rogina
                wrote on last edited by
                #7

                @KiranRudigi please don't forget to mark your post as such. Thanks.

                Upvote the answer(s) that helped you solve the issue
                Use "Topic Tools" button to mark your post as Solved
                Add screenshots via postimage.org
                Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

                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