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. [solved] Cannot read from input file: android-lib*.so-deployment-settings.json
Forum Update on Monday, May 27th 2025

[solved] Cannot read from input file: android-lib*.so-deployment-settings.json

Scheduled Pinned Locked Moved Mobile and Embedded
5 Posts 3 Posters 3.3k 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.
  • N Offline
    N Offline
    ningen
    wrote on last edited by
    #1

    I try to compile qt demos for Android platform by console command:
    @qmake
    make install INSTALL_ROOT=android-build
    ../../qt/5.2.1/android_x86/bin/androiddeployqt --output android-build@
    And get output:
    @Cannot read from input file: android-lib{app_name}.so-deployment-settings.json@

    GUI compilation runs successfully

    Install packages:
    @sudo apt-get install openjdk-7-jdk@
    !http://www.7image.ru/pics/0214/424321315.png(qt gui prefs)!

    I was researching this problem and tryed fix it. Ineffectually
    I need help)

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

      Fixed! BUILD SUCCESSFUL
      This is Error: qmake was linked gcc\bin\qmake
      Next Enviroment Variables is usefully for me (this is true for android x86 builds, for others you need setting other qt-tools path).

      #For Android SDK & NDK
      export ANDROID_NDK_ROOT=/media/for-android/android-ndk-r9c
      export ANDROID_SDK_ROOT=/media/for-android/android-sdk-linux

      #For Compile by QT tools
      export PATH=/media/Qt5.2.1/5.2.1/android_x86/bin/:/media/Qt5.2.1/5.2.1/android_x86/bin:$PATH

      #For Java JDK set
      export JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-amd64

      If necessary:

      #For Ant
      ANT_HOME=/usr/bin/ant

      1 Reply Last reply
      0
      • N Offline
        N Offline
        ningen
        wrote on last edited by
        #3

        How I can to close this topic..?

        1 Reply Last reply
        0
        • L Offline
          L Offline
          ltr6
          wrote on last edited by
          #4

          Just edit the title and add [Solved] in the beginning. I don't know if you can close topics.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            Currently the only way to "close" is to prepend [solved] to your thread title

            Happy coding !

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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