Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt 5.1 for Android error in Kubuntu
Forum Updated to NodeBB v4.3 + New Features

Qt 5.1 for Android error in Kubuntu

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 3 Posters 2.3k 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.
  • freddy311082F Offline
    freddy311082F Offline
    freddy311082
    wrote on last edited by
    #1

    Hi to everybody

    I'm trying to use QtCreator for develop Android app and I can't. Iḿ using the oficial installer give it for the Qt download webpage for android (http://download.qt-project.org/official_releases/qt/5.1/5.1.1/qt-linux-opensource-5.1.1-android-x86_64-offline.run) and I'm using Kubuntu.

    Firt, when I start a new project the I've the following message in the General console:
    "Could not read qmake configuration file /home/freddy/Qt5.1.1/5.1.1/android_armv7/mkspecs/android-g++/qmake.conf."

    and this file exist in this address

    after that, if I try to run the application the message that I get in the Compile Ouput console is:

    "03:12:37: Please wait, searching for a suitable device for target:android-10.
    Error while building/deploying project android2 (kit: Android for arm (GCC 4.6, Qt 5.1.1))
    When executing step 'Deploy to Android device'"

    and the Issues console say:
    " Cannot deploy: no devices or emulators found for your package."

    when I saw this, I tryed to start my AVD and it dosen't work....

    I've fine the configuration of my SDK and NDK and with the same configuration my friend run his applications in openSUSE....

    what Am I have to do ??? help me please...

    best regards..

    Freddy

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      I too had this issue but it got somehow solvd during testing.
      From Tools > Options > Android > "Start Android AVD Manager" create a New AVD from there and Start. Allow it to boot completely. Then close the AVD and then close Qt creator. I did this 1-2 times and then it magically worked.

      157

      1 Reply Last reply
      0
      • freddy311082F Offline
        freddy311082F Offline
        freddy311082
        wrote on last edited by
        #3

        thanks, but that it dosen't work for me...

        somebody else ???

        1 Reply Last reply
        0
        • p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          Ok. Can you confirm if the "SDK platform" and the "System Image" for your target API has been downloaded to your system ?
          Goto your installation path and then "SDK > tools " and run the "android" tool. It will list what all is present and needs to be install. check your target API's info there.

          157

          1 Reply Last reply
          0
          • freddy311082F Offline
            freddy311082F Offline
            freddy311082
            wrote on last edited by
            #5

            yes...

            y SDK platform and my System Image are instaled... I think that the problem is not with the SDK because my friend and I use the same SDK but he work in openSUSE and I in Ubuntu and everything is fine for him...

            The QtCreator tell me that:
            "Could not read qmake configuration file /home/freddy/Qt5.1.1/5.1.1/android_x86/mkspecs/android-g++/qmake.conf."

            and the file address is correct... I update mi SDK and the problem is still there...

            another advice please....

            best regards

            freddy

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

              Hi,

              Just a wild guess, did you download the additional android SDKs ? The one from the website only contains the latest which is currently API-18 IIRC so you need to download the older with their manager.

              Hope it helps

              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