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 748 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 13 Aug 2018, 12:38 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
    • D Offline
      D Offline
      dheerendra
      Qt Champions 2022
      wrote on 13 Aug 2018, 13:43 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 14 Aug 2018, 05:13
      1
      • D dheerendra
        13 Aug 2018, 13:43

        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 14 Aug 2018, 05:13 last edited by
        #3

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

        R 1 Reply Last reply 14 Aug 2018, 05:40
        0
        • K KiranRudigi
          14 Aug 2018, 05:13

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

          R Offline
          R Offline
          Ratzz
          wrote on 14 Aug 2018, 05:40 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
          • D Offline
            D Offline
            dheerendra
            Qt Champions 2022
            wrote on 14 Aug 2018, 14:01 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 14 Aug 2018, 15:00
            3
            • D dheerendra
              14 Aug 2018, 14:01

              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 14 Aug 2018, 15:00 last edited by
              #6

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

              P 1 Reply Last reply 14 Aug 2018, 17:08
              0
              • K KiranRudigi
                14 Aug 2018, 15:00

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

                P Offline
                P Offline
                Pablo J. Rogina
                wrote on 14 Aug 2018, 17:08 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

                1/7

                13 Aug 2018, 12:38

                • Login

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