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. Apply patch...

Apply patch...

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
25 Posts 2 Posters 12.1k Views 2 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 SGaist

    What's your device ? Did you change anything on it ?

    S Offline
    S Offline
    Stefanoxjx
    wrote on last edited by
    #9

    @SGaist
    No, I haven't changed nothing.
    But, perhaps I must explain what I did.
    Yesterday, looking to resolve this issue, I've removed Qt Creator, deleted configuration, android sdk and ndk
    Then I've reinstalled sdk/ndk and QtCreator.
    I was very happy when I saw that after this everything was fine.
    Obviously yesterday night I've power off my pc.
    Today, I've power on my pc and I've worked but I haven't installed, removed package or changed any configuration.
    Today, I needed to upload a new app in my tablet and surprise...
    "ABI's Incompatible".

    My tablet is Hanspree HSG1279 with Android 4.4.2.
    Now I've tried to upload app in virtual device but it isn't uploaded.

    These are compiler messages:

    23:37:26: Running steps for project TestOSMMobile...
    23:37:26: Configuration unchanged, skipping qmake step.
    23:37:26: Starting: "/usr/bin/make" 
    make: Nothing to be done for `first'.
    23:37:26: The process "/usr/bin/make" exited normally.
    23:37:26: Removing directory /home/stefano/Documenti/Programmi/Qt/build-TestOSMMobile-Android_for_armeabi_GCC_4_9_Qt_5_5_1-Debug/android-build
    23:37:26: Starting: "/usr/bin/make" INSTALL_ROOT=/home/stefano/Documenti/Programmi/Qt/build-TestOSMMobile-Android_for_armeabi_GCC_4_9_Qt_5_5_1-Debug/android-build install
    install -m 755 -p libTestOSMMobile.so /home/stefano/Documenti/Programmi/Qt/build-TestOSMMobile-Android_for_armeabi_GCC_4_9_Qt_5_5_1-Debug/android-build/libs/default/armeabi-v7a/libTestOSMMobile.so
    23:37:26: The process "/usr/bin/make" exited normally.
    23:37:26: Starting: "/opt/Qt/5.5/android_armv5/bin/androiddeployqt" --input /home/stefano/Documenti/Programmi/Qt/build-TestOSMMobile-Android_for_armeabi_GCC_4_9_Qt_5_5_1-Debug/android-libTestOSMMobile.so-deployment-settings.json --output /home/stefano/Documenti/Programmi/Qt/build-TestOSMMobile-Android_for_armeabi_GCC_4_9_Qt_5_5_1-Debug/android-build --deployment bundled --android-platform android-23 --jdk /usr/lib/jvm/java-7-openjdk-amd64 --ant /usr/bin/ant
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
    Warning: QML import could not be resolved in any of the import paths: QtQuick.Extras.Private.CppUtils
    Warning: QML import could not be resolved in any of the import paths: HelperWidgets
    Application binary is not in output directory: /home/stefano/Documenti/Programmi/Qt/build-TestOSMMobile-Android_for_armeabi_GCC_4_9_Qt_5_5_1-Debug/android-build//libs/armeabi/libTestOSMMobile.so. Please run 'make install INSTALL_ROOT=/home/stefano/Documenti/Programmi/Qt/build-TestOSMMobile-Android_for_armeabi_GCC_4_9_Qt_5_5_1-Debug/android-build/' first.
    Generating Android Package
      Input file: /home/stefano/Documenti/Programmi/Qt/build-TestOSMMobile-Android_for_armeabi_GCC_4_9_Qt_5_5_1-Debug/android-libTestOSMMobile.so-deployment-settings.json
      Output directory: /home/stefano/Documenti/Programmi/Qt/build-TestOSMMobile-Android_for_armeabi_GCC_4_9_Qt_5_5_1-Debug/android-build/
      Application binary: /home/stefano/Documenti/Programmi/Qt/build-TestOSMMobile-Android_for_armeabi_GCC_4_9_Qt_5_5_1-Debug/libTestOSMMobile.so
      Android build platform: android-23
      Install to device: No
    23:37:27: The process "/opt/Qt/5.5/android_armv5/bin/androiddeployqt" exited with code 7.
    Error while building/deploying project TestOSMMobile (kit: Android for armeabi (GCC 4.9, Qt 5.5.1))
    When executing step "Build Android APK"
    23:37:27: Elapsed time: 00:00.
    

    Thanks.

    Stefano

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

      Since you have 4.4.2 shouldn't you be targeting level 19 ?

      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
      • S Offline
        S Offline
        Stefanoxjx
        wrote on last edited by
        #11

        Yes, you're right, but yesterday was also loaded the app without the level 19.
        In previous installation, I had also level 19, but message "ABIs Incompatible" there was same :(

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

          Previous installation ?

          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
          • S Offline
            S Offline
            Stefanoxjx
            wrote on last edited by
            #13

            yes, friday looking to resolve this issue, I removed and reinstalled android sdk/ndk, qt creator and configuration.
            Right after installation everythingl works fine, but yesterday (after to have rebooted my PC) the problem (ABIs Incompatible) is back :(
            I had already wrote this in previous post, but prehaps for my bad english you didn't understand what I wanted to tell you.
            I'm sorry for my very bad english :(

            Stefano

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

              You just talked about Qt Creator not whether you re-installed Qt completely.

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

              S 1 Reply Last reply
              1
              • SGaistS SGaist

                You just talked about Qt Creator not whether you re-installed Qt completely.

                S Offline
                S Offline
                Stefanoxjx
                wrote on last edited by Stefanoxjx
                #15

                Yes, I told that I've completely deleted android-ndk, android-sdk, Qt and configuration and then I've reinstalled all packages.
                Yesterday in doubt I've installed also level 19 for Android 4.4.2.
                After this operation I uploaded app in my tablet without problem, then very happy I've power off my PC and I'm go to sleep.
                Today it is not working again.
                I don't understand what can change during machine reboot (Ubuntu 14.04 64bit).

                Stefano

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

                  So, all in all: with a complete fresh install of Qt, Android NDK/SDK, everything is working, but with a reboot it's not ?

                  Did you recheck Qt Creator's Android settings to see if anything is different ?

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

                  S 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    So, all in all: with a complete fresh install of Qt, Android NDK/SDK, everything is working, but with a reboot it's not ?

                    Did you recheck Qt Creator's Android settings to see if anything is different ?

                    S Offline
                    S Offline
                    Stefanoxjx
                    wrote on last edited by
                    #17

                    I've already checked it and configuration is the same.
                    Perhaps are file permissions, but to be sure I've assigned 777 to all files and folders in android-sdk, ndk and Qt.
                    But this test don't solve the problem.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      Stefanoxjx
                      wrote on last edited by
                      #18

                      Hi, I'm continuing to have the problem :(
                      These are all informations that I can give to help me:

                      This is the problem
                      http://www.enterprice.it/error.png

                      This is Qt configuration
                      http://www.enterprice.it/qtconf.png
                      http://www.enterprice.it/qtversion.png

                      This is SDK configuration
                      http://www.enterprice.it/sdk1.jpg
                      http://www.enterprice.it/sdk2.jpg

                      I've tried all I had in mind, but without success :(
                      Have you some ideas?
                      Thanks.

                      Stefano

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

                        What's that device that's not compatible ?

                        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
                        • S Offline
                          S Offline
                          Stefanoxjx
                          wrote on last edited by
                          #20

                          Hi SGaist,
                          I've 3 devices:

                          • Tablet Samsung SM-T535/Android 5.0.2 - it seems to work fine
                          • Phone LG G3/Android 5.0 - ABIs Incompatible
                          • Tablet Hannspree HSG1279/Android 4.4.2 - ABIs Incompatible

                          is strange that:

                          • Samsung Tablet always works fine
                          • LG G3 Never works
                          • Hanspree Tablet sometimes it work

                          Debug USB is active in all devices

                          Stefano

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

                            Did you install all API levels down to 19 ?

                            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
                            1
                            • S Offline
                              S Offline
                              Stefanoxjx
                              wrote on last edited by
                              #22

                              Hi SGaist, yesterday I had some time and I've searched on google the solution with different keys.
                              I've found solution.
                              It was change some rule in udev.
                              Now all work fine.
                              Thanks for your attention and patience.

                              Stefano

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

                                What change did you had to do to the udev rules ?

                                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
                                • S Offline
                                  S Offline
                                  Stefanoxjx
                                  wrote on last edited by
                                  #24

                                  I've created "51-android.rules" and added this line:
                                  SUBSYSTEM=="usb", ATTRS{idVendor}=="10d6", MODE="0666"
                                  where "10d6" is vendor id of my tablet.

                                  Stefano

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

                                    Ok, thanks for sharing.

                                    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