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. [HARD ERROR] Issue about UI of android 6.0

[HARD ERROR] Issue about UI of android 6.0

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
24 Posts 3 Posters 3.0k 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.
  • T Offline
    T Offline
    TranVinhPhuc
    wrote on 24 May 2019, 08:52 last edited by TranVinhPhuc
    #1

    Hi all !
    When im try to build app on android 6.0 . my application's backend work well but the UI of app not load . this is my compile output :

    0_1558687831648_ab73e30a-0123-4c0b-9b83-17cf84db3e61-image.png

    0_1558688064288_6f36152c-cb18-4427-b173-626885075a08-image.png

    0_1558688148267_8cc7382d-b81e-4df9-8a88-1b5728beb1c5-image.png

    my Qt Creator : 5.10
    Android SDK : 26.1.1
    Android NDK: r17c

    R 1 Reply Last reply 24 May 2019, 10:40
    0
    • T TranVinhPhuc
      24 May 2019, 08:52

      Hi all !
      When im try to build app on android 6.0 . my application's backend work well but the UI of app not load . this is my compile output :

      0_1558687831648_ab73e30a-0123-4c0b-9b83-17cf84db3e61-image.png

      0_1558688064288_6f36152c-cb18-4427-b173-626885075a08-image.png

      0_1558688148267_8cc7382d-b81e-4df9-8a88-1b5728beb1c5-image.png

      my Qt Creator : 5.10
      Android SDK : 26.1.1
      Android NDK: r17c

      R Offline
      R Offline
      raven-worx
      Moderators
      wrote on 24 May 2019, 10:40 last edited by
      #2

      @TranVinhPhuc
      the only error i see is the chown in the very first line.
      But your app seems to start anyway. So where is your issue exactly?

      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
      If you have a question please use the forum so others can benefit from the solution in the future

      T 1 Reply Last reply 24 May 2019, 11:02
      1
      • R raven-worx
        24 May 2019, 10:40

        @TranVinhPhuc
        the only error i see is the chown in the very first line.
        But your app seems to start anyway. So where is your issue exactly?

        T Offline
        T Offline
        TranVinhPhuc
        wrote on 24 May 2019, 11:02 last edited by
        #3

        Hi @raven-worx !
        this problem , i found here , is i cant load UI , Layout of Qt to my device .
        But when i deploy to another device it work well (my device Q896s , android 6.0 )

        J R 2 Replies Last reply 24 May 2019, 11:17
        0
        • T TranVinhPhuc
          24 May 2019, 11:02

          Hi @raven-worx !
          this problem , i found here , is i cant load UI , Layout of Qt to my device .
          But when i deploy to another device it work well (my device Q896s , android 6.0 )

          J Offline
          J Offline
          J.Hilk
          Moderators
          wrote on 24 May 2019, 11:17 last edited by J.Hilk
          #4

          @TranVinhPhuc
          when you say: when i deploy to another device it work well
          what other device are you talking about another android 6.0 device?

          Android 6.0 was released in 2015 and Qt 5.10 in 2018. Maybe there are some issues with drivers or something similar.

          Can you run and deploy a simple bare-bone Ui-Porgramm. Maybe just a textfield saying "Ui is loaded"

          Something along that line


          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.

          T 1 Reply Last reply 24 May 2019, 11:40
          1
          • T TranVinhPhuc
            24 May 2019, 11:02

            Hi @raven-worx !
            this problem , i found here , is i cant load UI , Layout of Qt to my device .
            But when i deploy to another device it work well (my device Q896s , android 6.0 )

            R Offline
            R Offline
            raven-worx
            Moderators
            wrote on 24 May 2019, 11:18 last edited by
            #5

            @TranVinhPhuc
            i think you rather need to ask this question to the manufacturer of the device.
            Since it's very likely that this is a highly customized Android ROM (incl. Linux kernel)

            --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
            If you have a question please use the forum so others can benefit from the solution in the future

            T 2 Replies Last reply 24 May 2019, 11:52
            0
            • J J.Hilk
              24 May 2019, 11:17

              @TranVinhPhuc
              when you say: when i deploy to another device it work well
              what other device are you talking about another android 6.0 device?

              Android 6.0 was released in 2015 and Qt 5.10 in 2018. Maybe there are some issues with drivers or something similar.

              Can you run and deploy a simple bare-bone Ui-Porgramm. Maybe just a textfield saying "Ui is loaded"

              Something along that line

              T Offline
              T Offline
              TranVinhPhuc
              wrote on 24 May 2019, 11:40 last edited by
              #6

              @J.Hilk , i create a simple button have text "THIS IS " , but it just like this 0_1558698019610_78bfd6a8-dbff-4ce3-9b02-1b7b4f550357-image.png

              1 Reply Last reply
              0
              • R raven-worx
                24 May 2019, 11:18

                @TranVinhPhuc
                i think you rather need to ask this question to the manufacturer of the device.
                Since it's very likely that this is a highly customized Android ROM (incl. Linux kernel)

                T Offline
                T Offline
                TranVinhPhuc
                wrote on 24 May 2019, 11:52 last edited by
                #7

                @raven-worx , i search many things , and they said it have relate to RPATH , RUNPATH ,..

                R 1 Reply Last reply 24 May 2019, 20:15
                0
                • T TranVinhPhuc
                  24 May 2019, 11:52

                  @raven-worx , i search many things , and they said it have relate to RPATH , RUNPATH ,..

                  R Offline
                  R Offline
                  raven-worx
                  Moderators
                  wrote on 24 May 2019, 20:15 last edited by
                  #8

                  @TranVinhPhuc said in [HARD ERROR] Issue about UI of android 6.0:

                  they said it have relate to RPATH , RUNPATH ,..

                  what in detail?

                  --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                  If you have a question please use the forum so others can benefit from the solution in the future

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    TranVinhPhuc
                    wrote on 25 May 2019, 06:20 last edited by TranVinhPhuc
                    #9

                    Maybe it 's there !
                    https://stackoverflow.com/questions/33206409/unused-dt-entry-type-0x1d-arg/41900551#41900551

                    i try to do following that but
                    it not work . maybe im fogort something :D

                    R 1 Reply Last reply 25 May 2019, 08:07
                    0
                    • T TranVinhPhuc
                      25 May 2019, 06:20

                      Maybe it 's there !
                      https://stackoverflow.com/questions/33206409/unused-dt-entry-type-0x1d-arg/41900551#41900551

                      i try to do following that but
                      it not work . maybe im fogort something :D

                      R Offline
                      R Offline
                      raven-worx
                      Moderators
                      wrote on 25 May 2019, 08:07 last edited by raven-worx
                      #10

                      @TranVinhPhuc
                      you can safely ignore these warnings regarding DT_FLAGS
                      This is already known and shouldnt have an impact on your app

                      Maybe logcat logs may help here too:

                      // First clear the existing logcat messages
                      adb logcat -c
                      //Then reproduce the issue and save the logcat messages to a file
                      adb logcat -d > logcat.txt
                      

                      --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                      If you have a question please use the forum so others can benefit from the solution in the future

                      T 2 Replies Last reply 27 May 2019, 03:56
                      0
                      • R raven-worx
                        25 May 2019, 08:07

                        @TranVinhPhuc
                        you can safely ignore these warnings regarding DT_FLAGS
                        This is already known and shouldnt have an impact on your app

                        Maybe logcat logs may help here too:

                        // First clear the existing logcat messages
                        adb logcat -c
                        //Then reproduce the issue and save the logcat messages to a file
                        adb logcat -d > logcat.txt
                        
                        T Offline
                        T Offline
                        TranVinhPhuc
                        wrote on 27 May 2019, 03:56 last edited by
                        #11

                        @raven-worx !
                        I think this log just show about infomation of network state , it does not show about info of this error :D ...

                        1 Reply Last reply
                        0
                        • T Offline
                          T Offline
                          TranVinhPhuc
                          wrote on 27 May 2019, 06:02 last edited by
                          #12

                          i try to create a simple example with button and text. i deploy to my device and ...
                          my code qml:
                          import QtQuick 2.10
                          import QtQuick.Window 2.10
                          import QtQuick.Controls 2.0
                          Window {
                          visible: true
                          width: 640
                          height: 480
                          title: qsTr("Hello World")
                          Button{
                          width: 500
                          height: 200
                          anchors.centerIn: parent
                          text: "THIS"

                          }
                          

                          }
                          0_1558929894200_35c05946-1983-431c-a2c8-6a2466a07a1b-image.png

                          1 Reply Last reply
                          0
                          • R raven-worx
                            25 May 2019, 08:07

                            @TranVinhPhuc
                            you can safely ignore these warnings regarding DT_FLAGS
                            This is already known and shouldnt have an impact on your app

                            Maybe logcat logs may help here too:

                            // First clear the existing logcat messages
                            adb logcat -c
                            //Then reproduce the issue and save the logcat messages to a file
                            adb logcat -d > logcat.txt
                            
                            T Offline
                            T Offline
                            TranVinhPhuc
                            wrote on 28 May 2019, 08:22 last edited by
                            #13

                            @raven-worx Do you have any ideas about my problem ? :D

                            R 1 Reply Last reply 28 May 2019, 09:03
                            0
                            • T TranVinhPhuc
                              28 May 2019, 08:22

                              @raven-worx Do you have any ideas about my problem ? :D

                              R Offline
                              R Offline
                              raven-worx
                              Moderators
                              wrote on 28 May 2019, 09:03 last edited by
                              #14

                              @TranVinhPhuc
                              yes, and i already said that.
                              you didnt answer my question in an earlier post

                              --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                              If you have a question please use the forum so others can benefit from the solution in the future

                              T 1 Reply Last reply 28 May 2019, 09:43
                              0
                              • R raven-worx
                                28 May 2019, 09:03

                                @TranVinhPhuc
                                yes, and i already said that.
                                you didnt answer my question in an earlier post

                                T Offline
                                T Offline
                                TranVinhPhuc
                                wrote on 28 May 2019, 09:43 last edited by
                                #15

                                @raven-worx, i try using that logcat , and it just show information about network , wifi state ...

                                R 1 Reply Last reply 28 May 2019, 15:04
                                0
                                • T Offline
                                  T Offline
                                  TranVinhPhuc
                                  wrote on 28 May 2019, 15:03 last edited by
                                  #16

                                  Hi All ! , i think i have same problem with this topic in Qt Forum
                                  https://forum.qt.io/topic/72681/qt-quick-проект-не-запускается-на-эмуляторе-android

                                  1 Reply Last reply
                                  0
                                  • T TranVinhPhuc
                                    28 May 2019, 09:43

                                    @raven-worx, i try using that logcat , and it just show information about network , wifi state ...

                                    R Offline
                                    R Offline
                                    raven-worx
                                    Moderators
                                    wrote on 28 May 2019, 15:04 last edited by raven-worx
                                    #17

                                    @TranVinhPhuc
                                    the one before that one.
                                    (regarding what they said in detail)
                                    Note: again the DT_FLAGS warnings can be ignored and do not relate to this problem.

                                    Do you have root access to the device?

                                    --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                                    If you have a question please use the forum so others can benefit from the solution in the future

                                    T 1 Reply Last reply 28 May 2019, 16:38
                                    0
                                    • R raven-worx
                                      28 May 2019, 15:04

                                      @TranVinhPhuc
                                      the one before that one.
                                      (regarding what they said in detail)
                                      Note: again the DT_FLAGS warnings can be ignored and do not relate to this problem.

                                      Do you have root access to the device?

                                      T Offline
                                      T Offline
                                      TranVinhPhuc
                                      wrote on 28 May 2019, 16:38 last edited by TranVinhPhuc
                                      #18

                                      @raven-worx said in [HARD ERROR] Issue about UI of android 6.0:

                                      garding what they said in detai

                                      my device was rooted
                                      i using root to access to my device

                                      R 1 Reply Last reply 28 May 2019, 18:34
                                      0
                                      • T TranVinhPhuc
                                        28 May 2019, 16:38

                                        @raven-worx said in [HARD ERROR] Issue about UI of android 6.0:

                                        garding what they said in detai

                                        my device was rooted
                                        i using root to access to my device

                                        R Offline
                                        R Offline
                                        raven-worx
                                        Moderators
                                        wrote on 28 May 2019, 18:34 last edited by raven-worx
                                        #19

                                        @TranVinhPhuc
                                        can you check how your partitions are mounted then

                                        adb shell mount
                                        // or
                                        adb shell cat /proc/mounts
                                        

                                        --- SUPPORT REQUESTS VIA CHAT WILL BE IGNORED ---
                                        If you have a question please use the forum so others can benefit from the solution in the future

                                        T 1 Reply Last reply 29 May 2019, 01:54
                                        1
                                        • R raven-worx
                                          28 May 2019, 18:34

                                          @TranVinhPhuc
                                          can you check how your partitions are mounted then

                                          adb shell mount
                                          // or
                                          adb shell cat /proc/mounts
                                          
                                          T Offline
                                          T Offline
                                          TranVinhPhuc
                                          wrote on 29 May 2019, 01:54 last edited by
                                          #20

                                          @raven-worx !
                                          after run command !
                                          rootfs / rootfs ro,relatime 0 0
                                          tmpfs /dev tmpfs rw,nosuid,relatime,mode=755 0 0
                                          devpts /dev/pts devpts rw,relatime,mode=600,ptmxmode=000 0 0
                                          proc /proc proc rw,relatime 0 0
                                          sysfs /sys sysfs rw,relatime 0 0
                                          debugfs /sys/kernel/debug debugfs rw,relatime 0 0
                                          none /sys/fs/cgroup tmpfs rw,relatime,mode=750,gid=1000 0 0
                                          tmpfs /mnt tmpfs rw,relatime,mode=755,gid=1000 0 0
                                          none /dev/cpuctl cgroup rw,relatime,cpu 0 0
                                          tmpfs /sensors_cache tmpfs rw,relatime,mode=755,gid=1000 0 0
                                          /dev/block/by-name/system /system ext4 ro,relatime,data=ordered 0 0
                                          /dev/block/by-name/cache /cache ext4 rw,nosuid,nodev,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic,data=ordered 0 0
                                          /dev/block/by-name/alog /logger ext4 rw,nosuid,nodev,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic,data=ordered 0 0
                                          tmpfs /storage tmpfs rw,relatime,mode=755,gid=1000 0 0
                                          /dev/block/by-name/bootloader /bootloader vfat rw,relatime,uid=1000,gid=1000,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=ascii,shortname=lower,errors=remount-ro 0 0
                                          /dev/block/dm-0 /data ext4 rw,nosuid,nodev,noatime,nomblk_io_submit,noauto_da_alloc,errors=panic,data=ordered 0 0
                                          /dev/fuse /mnt/runtime/default/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
                                          /dev/fuse /storage/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
                                          /dev/fuse /mnt/runtime/read/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0
                                          /dev/fuse /mnt/runtime/write/emulated fuse rw,nosuid,nodev,noexec,noatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0

                                          R 1 Reply Last reply 29 May 2019, 06:44
                                          0

                                          1/24

                                          24 May 2019, 08:52

                                          • Login

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