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. Unable to generate an APK package via androiddeployqt.
Forum Updated to NodeBB v4.3 + New Features

Unable to generate an APK package via androiddeployqt.

Scheduled Pinned Locked Moved Solved Mobile and Embedded
4 Posts 2 Posters 614 Views
  • 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.
  • Nikhilesh NN Offline
    Nikhilesh NN Offline
    Nikhilesh N
    wrote on last edited by
    #1

    Greetings. I am facing this issue when I type this command

    _JAVA_OPTIONS="-Xmx10240m -XX:-UseGCOverheadLimit" /home/nnikhil/Qt5.12.1/5.12.1/android_armv7/bin/androiddeployqt --input android-libandroid_appman.so-deployment-settings.json --output android-build --android-platform android-28 --jdk /usr/lib/jvm/jdk1.8.0_201 --gradle
    

    Instead of a successful output, I am getting the following error:

    Generating Android Package
      Input file: android-libandroid_appman.so-deployment-settings.json
      Output directory: /home/nnikhil/MyCodeBase/build_android-appman/android-build/
      Application binary: /home/nnikhil/MyCodeBase/build_android-appman/libandroid_appman.so
      Android build platform: android-28
      Install to device: No
      -- Skipping /home/nnikhil/Qt5.12.1/5.12.1/android_armv7/plugins/iconengines/libqsvgicon.so. It has unmet dependencies: lib/libQt5Svg.so.
      -- Skipping /home/nnikhil/Qt5.12.1/5.12.1/android_armv7/plugins/imageformats/libqsvg.so. It has unmet dependencies: lib/libQt5Svg.so.
    The file name of external library /lib/klibc-k3La8MUnuzHQ0_kG8hokcGAC0PA.so must begin with "lib" and end with the suffix ".so".
    
    

    Does anybody know what this issue is, and the solution to it? I've been unsuccessful in Googling it, and not much support is available in any forum or developer blogspots either.

    Any help is appreciated. :-)

    1 Reply Last reply
    0
    • Nikhilesh NN Offline
      Nikhilesh NN Offline
      Nikhilesh N
      wrote on last edited by
      #2

      Any solution? @SGaist, @jsulm, @sierdzio, @dheerendra, @aha_1980, or any of our Qt family's top minds? I feel that there is an obvious solution around the corner, and am feeling dumb for not being able to think of it. :-(

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

        what is the following library ? Are you linking this in your project ?

        /lib/klibc-k3La8MUnuzHQ0_kG8hokcGAC0PA.so

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

        1 Reply Last reply
        2
        • Nikhilesh NN Offline
          Nikhilesh NN Offline
          Nikhilesh N
          wrote on last edited by
          #4

          @dheerendra Yes, that strange library's name is not supposed to be generated in the file 'android-libandroid_appman.so-deployment-settings.json'. This was due to path issues, and I have fixed it. I performed another clean build giving precise paths and that obscure library's name didn't appear. I also could generate an APK of the project.

          Thank you for replying. I will mark this topic as solved.

          1 Reply Last reply
          1

          • Login

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