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. Android Deployment
QtWS25 Last Chance

Android Deployment

Scheduled Pinned Locked Moved Mobile and Embedded
8 Posts 3 Posters 2.1k 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.
  • C Offline
    C Offline
    clouca
    wrote on last edited by
    #1

    Hello everybody.. i have problems with deploying my project in android. The project description is :
    MainProject
    --------SubProject1
    --------SubProject2
    --------SubProject3
    --------SubProject4
    Subprojects1,2,3 are only libraries. Subproject 4 is the executable. When i am Running for Desktop i can select the project to run. How can i do that in android?
    Now it creates only MainProject-debug.apk which cannot execute.
    Thanks!

    1 Reply Last reply
    0
    • C Offline
      C Offline
      clouca
      wrote on last edited by
      #2

      I think nobody will answer... usually nobody answers about android support... don't know the reason.. is it secret ?

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

        Hi,

        Maybe because you're the first using this kind of project setup ? Qt 5 android support is fairly new so there are not as much user having experience with it as with desktop environment.

        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
        • M Offline
          M Offline
          Moster
          wrote on last edited by
          #4

          "which cannot execute" is like the worst error message that you can give. Give a proper error message + some logs from ADB and we could maybe help.

          Also, what do you expect? Do you really think that there is always someone answering within 1 hour?

          1 Reply Last reply
          0
          • C Offline
            C Offline
            clouca
            wrote on last edited by
            #5

            hello thanks for your answer. i will show what is the exact error..

            1 Reply Last reply
            0
            • C Offline
              C Offline
              clouca
              wrote on last edited by
              #6

              Okay.. I will tell you more information now. I have setup my tool chain for a very simple project and it runs successful. So the tool chain is not the problem. I have a ready made project which consisted of 5 subprojects. In windows i select the sub project 3 that is the executable and run ok (in windows). When i compile the project for android it compiles successful. Although it compiles successful it can not run. Instead of creating the subproject3.apk it creates the file MainProject.apk which in general can not run. Except from that i take the following issue when trying to deploy : Cannot find ELF information. The main question is that how can i select the sub project 3 to be created as subproject3.apk ?
              The structure of the project is at follows.
              MainProject
              ————SubProject1
              ————SubProject2
              ————SubProject3
              ————SubProject4
              ————SubProject5

              1 Reply Last reply
              0
              • C Offline
                C Offline
                clouca
                wrote on last edited by
                #7

                I have another example to tell you about that. In that path C:\Qt\Qt5.1.1\5.1.1\mingw48_32\examples\gui there is a project with subprojects. I compiled it with Qt for android successful. When i am trying to run it creates a file gui-debug.apk wich cannot be executed obviously because only the subprojects include executed source code. So even the examples are not working if we don't find a solution about that.!

                1 Reply Last reply
                0
                • C Offline
                  C Offline
                  clouca
                  wrote on last edited by
                  #8

                  I know that Qt is in first steps for android but this functionality is too basic. To select the project to execute.!

                  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