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. Device incompatible?
Forum Updated to NodeBB v4.3 + New Features

Device incompatible?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
27 Posts 6 Posters 7.4k 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #4

    Hi,

    Did you do any update to your system in between ? For example: NDK, Android OS, Qt Creator ?

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

    K 1 Reply Last reply
    0
    • SGaistS SGaist

      Hi,

      Did you do any update to your system in between ? For example: NDK, Android OS, Qt Creator ?

      K Offline
      K Offline
      kgregory
      wrote on last edited by
      #5

      @SGaist I probably got an android update since the last time I used it. I didn't update Qt creator or NDK since the last time I used it.

      @mvuori reboots did not fix this, unfortunately.

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

        Can you get it listed if you use the adb command directly ?

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

        K 1 Reply Last reply
        0
        • SGaistS SGaist

          Can you get it listed if you use the adb command directly ?

          K Offline
          K Offline
          kgregory
          wrote on last edited by
          #7

          @SGaist yes the adb devices -l command lists the device.

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

            Do you have only one adb executable in your system ?

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

            K 1 Reply Last reply
            0
            • SGaistS SGaist

              Do you have only one adb executable in your system ?

              K Offline
              K Offline
              kgregory
              wrote on last edited by
              #9

              @SGaist that's the only one I know of. the adb command only works when I'm in the /AndroidSDK/platform-tools directory.

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

                It's the same that's is configured in Qt Creator ?

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

                K 1 Reply Last reply
                0
                • SGaistS SGaist

                  It's the same that's is configured in Qt Creator ?

                  K Offline
                  K Offline
                  kgregory
                  wrote on last edited by
                  #11

                  @SGaist I'm not really sure. Where is that configured?

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

                    I would say path to the NDK.

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

                    K 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      I would say path to the NDK.

                      K Offline
                      K Offline
                      kgregory
                      wrote on last edited by
                      #13

                      @SGaist Yes its the same location that I have configured for devices > android

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

                        I just realised, did you build your application using an API version which is higher than what your Android version supports ?

                        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
                        • K Offline
                          K Offline
                          kgregory
                          wrote on last edited by
                          #15

                          I tried building for API level 24. It says my device is API level 24. I was building for API level 25 at some point but I think I may have switched it after I was finished testing in order to deploy to google play.

                          J.HilkJ 1 Reply Last reply
                          0
                          • K kgregory

                            I tried building for API level 24. It says my device is API level 24. I was building for API level 25 at some point but I think I may have switched it after I was finished testing in order to deploy to google play.

                            J.HilkJ Offline
                            J.HilkJ Offline
                            J.Hilk
                            Moderators
                            wrote on last edited by
                            #16

                            @kgregory I would also try a different USB-cable, I spend a couple of hours with a similar problem. Apparently my cable broke just enough that the device was detected, but I was unable to transfer any data in-between.


                            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


                            Q: What's that?
                            A: It's blue light.
                            Q: What does it do?
                            A: It turns blue.

                            K 1 Reply Last reply
                            1
                            • J.HilkJ J.Hilk

                              @kgregory I would also try a different USB-cable, I spend a couple of hours with a similar problem. Apparently my cable broke just enough that the device was detected, but I was unable to transfer any data in-between.

                              K Offline
                              K Offline
                              kgregory
                              wrote on last edited by
                              #17

                              @J.Hilk I tried a couple of different USB cables and ports to no avail.

                              I then thought it would be a good idea to update Qt, so I did (to 4.8.0). After that, creator will no longer launch at all. I get a brief 'busy' graphic and then nothing happens when I try to launch it. So I un-installed Qt and re-installed from scratch but I have the same symptom now. I also tried re-booting my machine.

                              aha_1980A 1 Reply Last reply
                              0
                              • K kgregory

                                @J.Hilk I tried a couple of different USB cables and ports to no avail.

                                I then thought it would be a good idea to update Qt, so I did (to 4.8.0). After that, creator will no longer launch at all. I get a brief 'busy' graphic and then nothing happens when I try to launch it. So I un-installed Qt and re-installed from scratch but I have the same symptom now. I also tried re-booting my machine.

                                aha_1980A Offline
                                aha_1980A Offline
                                aha_1980
                                Lifetime Qt Champion
                                wrote on last edited by
                                #18

                                @kgregory

                                Could it be you've hit QTCREATORBUG-21780.

                                Try starting QtCreator with -noload Android parameter and see if that helps.

                                Qt has to stay free or it will die.

                                K 1 Reply Last reply
                                3
                                • aha_1980A aha_1980

                                  @kgregory

                                  Could it be you've hit QTCREATORBUG-21780.

                                  Try starting QtCreator with -noload Android parameter and see if that helps.

                                  K Offline
                                  K Offline
                                  kgregory
                                  wrote on last edited by
                                  #19

                                  @aha_1980 yes I can successfully launch it that way, but I need Android. Sounds like I'm stuck waiting for a bug fix or a work around?

                                  aha_1980A 1 Reply Last reply
                                  0
                                  • K kgregory

                                    @aha_1980 yes I can successfully launch it that way, but I need Android. Sounds like I'm stuck waiting for a bug fix or a work around?

                                    aha_1980A Offline
                                    aha_1980A Offline
                                    aha_1980
                                    Lifetime Qt Champion
                                    wrote on last edited by
                                    #20

                                    @kgregory it should be fixed in Creator 4.8.1

                                    till then use the workaround described in the report.

                                    Qt has to stay free or it will die.

                                    K 1 Reply Last reply
                                    0
                                    • aha_1980A aha_1980

                                      @kgregory it should be fixed in Creator 4.8.1

                                      till then use the workaround described in the report.

                                      K Offline
                                      K Offline
                                      kgregory
                                      wrote on last edited by
                                      #21

                                      @aha_1980 ok I followed the work around and am able to launch QtCreator.

                                      However, now I get the following messages when I select a kit:

                                      The system cannot find the path specified.
                                      The system cannot find the path specified.
                                      2019-01-04T22:34:33 Clang Code Model: Error: The clangbackend executable "C:\Qt\Tools\QtCreator\bin\clangbackend.exe" could not be started (timeout after 10000ms).
                                      clang++.exe: error: unknown argument: '-mthumb-interwork'
                                      Project ERROR: failed to parse default search paths from compiler output
                                      

                                      I had been using the mingw compiler previously. I tried to set up the mingw compiler and none of the Auto-Detected kits use it. I tried to create a kit manually and when I select that compiler for c++, the icon next to the kit turns to a red exclamation point. I don't see any messages about what the issue is there.

                                      Thanks for the help so far... this is super annoying... Me right now >:-|

                                      aha_1980A 1 Reply Last reply
                                      0
                                      • K kgregory

                                        @aha_1980 ok I followed the work around and am able to launch QtCreator.

                                        However, now I get the following messages when I select a kit:

                                        The system cannot find the path specified.
                                        The system cannot find the path specified.
                                        2019-01-04T22:34:33 Clang Code Model: Error: The clangbackend executable "C:\Qt\Tools\QtCreator\bin\clangbackend.exe" could not be started (timeout after 10000ms).
                                        clang++.exe: error: unknown argument: '-mthumb-interwork'
                                        Project ERROR: failed to parse default search paths from compiler output
                                        

                                        I had been using the mingw compiler previously. I tried to set up the mingw compiler and none of the Auto-Detected kits use it. I tried to create a kit manually and when I select that compiler for c++, the icon next to the kit turns to a red exclamation point. I don't see any messages about what the issue is there.

                                        Thanks for the help so far... this is super annoying... Me right now >:-|

                                        aha_1980A Offline
                                        aha_1980A Offline
                                        aha_1980
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #22

                                        @kgregory sounds frustrating :(

                                        can you please show the screens for compilers, Qt versions and Kits in Tools > Options > Kits?

                                        Qt has to stay free or it will die.

                                        K 1 Reply Last reply
                                        0
                                        • aha_1980A aha_1980

                                          @kgregory sounds frustrating :(

                                          can you please show the screens for compilers, Qt versions and Kits in Tools > Options > Kits?

                                          K Offline
                                          K Offline
                                          kgregory
                                          wrote on last edited by
                                          #23

                                          @aha_1980

                                          0_1546713219457_fcfe089a-5ee4-4a51-bdaf-f6927d080504-image.png

                                          0_1546713248300_3a1f8d38-c796-46ee-9779-ee20d2a79ef9-image.png

                                          0_1546713288319_78cc21ad-f542-4a76-a76b-6f2c6a19469b-image.png

                                          aha_1980A 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