Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Learning
  3. Qt in Education
  4. Android - Qt successfully deploys Examples but not a selfmade new project. [SOLVED]
QtWS25 Last Chance

Android - Qt successfully deploys Examples but not a selfmade new project. [SOLVED]

Scheduled Pinned Locked Moved Qt in Education
11 Posts 3 Posters 4.9k 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.
  • A Offline
    A Offline
    Arty.McLabin
    wrote on 24 Jul 2014, 16:31 last edited by
    #1

    Hi, for the start i want to mention that i am very new to Qt, and my experience in it is limited by developing windows
    widget apps.
    I have installed the latest android SDK,NDK,JDK,ant,minGW (i use MSVC2012 for windows)
    Qt5.3

    so the problem is that i actually can't deploy a new empty android project (absolutely nothing modified)
    on my galaxy note2 device(android4.3+root), and getting some ass poor error:

    !http://i.imgur.com/t4jVQvF.jpg()!
    [install_target] Error 1
    (the device doesn't react in any way)

    while i AM able to deploy the Qt examples like mice collapse or maroon in trouble(some screen size bug on the last one tho)

    what could it be?
    thanks in advance.

    android configuration screenshot:
    !http://i.imgur.com/LmM9Nau.jpg()!

    Static linking is cool. Really.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      p3c0
      Moderators
      wrote on 25 Jul 2014, 08:41 last edited by
      #2

      Hi,

      Can you post the complete Compile Output ?

      157

      1 Reply Last reply
      0
      • A Offline
        A Offline
        Arty.McLabin
        wrote on 25 Jul 2014, 20:36 last edited by
        #3

        @23:35:12: Running steps for project Android2...
        23:35:12: Configuration unchanged, skipping qmake step.
        23:35:12: Starting: "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe"
        mingw32-make: Nothing to be done for 'first'.
        23:35:15: The process "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" exited normally.
        23:35:15: Starting: "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" INSTALL_ROOT="C:\Users\Komi\Documents\Visual Studio 2013\Projects\QT\build-Android2-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug\android-build" install
        'Studio' is not recognized as an internal or external command,
        operable program or batch file.
        'Studio' is not recognized as an internal or external command,
        operable program or batch file.
        Makefile:1563: recipe for target 'install_target' failed
        mingw32-make: *** [install_target] Error 1
        23:35:16: The process "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
        Error while building/deploying project Android2 (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.3.1))
        When executing step 'Copy application data'
        23:35:16: Elapsed time: 00:04.@

        Static linking is cool. Really.

        1 Reply Last reply
        0
        • P Offline
          P Offline
          p3c0
          Moderators
          wrote on 26 Jul 2014, 05:55 last edited by
          #4

          From the output i see the same old problem of spaces on Windows
          @
          "C:\Users\Komi\Documents\Visual Studio 2013\Projects\QT\build-Android2-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Debug\android-build"
          @

          Try removing spaces from the name Visual Studio 2013 directory

          157

          1 Reply Last reply
          0
          • A Offline
            A Offline
            Arty.McLabin
            wrote on 27 Jul 2014, 01:06 last edited by
            #5

            Strangely, i do not get the previous output code WITHOUT FOLLOWING YOUR INSTRUCTION!

            i just run it another time before trying to apply that space replace, and surprisingly i see the next thing:
            @mingw32-make: *** [install_target] Error 1
            04:03:24: The process "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
            Error while building/deploying project Android2 (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.3.1))
            When executing step 'Copy application data'
            04:03:24: Elapsed time: 00:02.@

            nothing changed beside it tho, the same situation as the initial question description. Any clues?

            Static linking is cool. Really.

            1 Reply Last reply
            0
            • P Offline
              P Offline
              p3c0
              Moderators
              wrote on 27 Jul 2014, 12:12 last edited by
              #6

              Can you post the complete compile output ?

              157

              1 Reply Last reply
              0
              • A Offline
                A Offline
                Arty.McLabin
                wrote on 27 Jul 2014, 21:52 last edited by
                #7

                The previous message i've posted contains it, it is the full.

                Static linking is cool. Really.

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  p3c0
                  Moderators
                  wrote on 28 Jul 2014, 13:49 last edited by
                  #8

                  @ mingw32-make: *** [install_target] Error 1
                  04:03:24: The process "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
                  Error while building/deploying project Android2 (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.3.1))
                  When executing step 'Copy application data'
                  04:03:24: Elapsed time: 00:02.
                  @

                  But this doesnot reveal anything about the error ?
                  Is this the only compile ouput now that gets printed on the console ?

                  157

                  1 Reply Last reply
                  0
                  • A Offline
                    A Offline
                    Arty.McLabin
                    wrote on 28 Jul 2014, 18:39 last edited by
                    #9

                    @21:33:38: Running steps for project Android2...
                    21:33:38: Configuration unchanged, skipping qmake step.
                    21:33:38: Starting: "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe"
                    mingw32-make: Nothing to be done for 'first'.
                    21:33:39: The process "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" exited normally.
                    21:33:39: Starting: "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" INSTALL_ROOT="C:\Users\Komi\Documents\Visual Studio 2013\Projects\QT\build-Android2-Android_for_armeabi_v7a_GCC_4_8_Qt_5_3_1-Release\android-build" install
                    'Studio' is not recognized as an internal or external command,
                    operable program or batch file.
                    'Studio' is not recognized as an internal or external command,
                    operable program or batch file.
                    Makefile:1563: recipe for target 'install_target' failed
                    mingw32-make: *** [install_target] Error 1
                    21:33:40: The process "D:\Qt\Tools\mingw482_32\bin\mingw32-make.exe" exited with code 2.
                    Error while building/deploying project Android2 (kit: Android for armeabi-v7a (GCC 4.8, Qt 5.3.1))
                    When executing step 'Copy application data'
                    21:33:40: Elapsed time: 00:02.@

                    I'm totally confused, every day i launch it, the compile output seem to give another code. all the 3 logs i posted are the complete output,
                    anyway its !http://i.imgur.com/rLT2Glp.jpg()!
                    the output i get now, as far as i know it shows all the compile output, does it?

                    Static linking is cool. Really.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 28 Jul 2014, 20:02 last edited by
                      #10

                      Hi,

                      You should move you project in a path without any spaces, they are a source of trouble specially on windows

                      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
                      • A Offline
                        A Offline
                        Arty.McLabin
                        wrote on 28 Jul 2014, 21:01 last edited by
                        #11

                        Thank you guys, seems to be solved!

                        also sorry for not trying it the first time as p3c0 adviced, i tried to avoid MSVC directory renaming, as it is binded to many projects i made before, including non-Qt.

                        Static linking is cool. Really.

                        1 Reply Last reply
                        0

                        4/11

                        26 Jul 2014, 05:55

                        topic:navigator.unread, 7
                        • Login

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