Results 1 to 3 of 3

Thread: Issues on Nexus 4

  1. #1
    Join Date
    Sep 2015
    Posts
    2
    Qt products
    Qt5 Qt/Embedded

    Default Re: Issues on Nexus 4

    Every time I try to deploy and run my app I get the following:
    Qt Code:
    1. org.qtproject.example.untitled2" died.
    2. Starting remote process.I/art ( 1427): Late-enabling -Xcheck:jni
    3. W/linker ( 1427): libQt5Gui.so: unused DT entry: type 0x1d arg 0x4c004
    4. W/linker ( 1427): libQt5Widgets.so: unused DT entry: type 0x1d arg 0x6a70c
    5. W/linker ( 1427): libqtforandroid.so: unused DT entry: type 0x1d arg 0x8c8b
    6. I/Qt ( 1427): qt start
    7. W/System.err( 1427): java.lang.NoSuchFieldException: mInsetState
    8. W/System.err( 1427): at java.lang.Class.getDeclaredField(Class.java:890)
    9. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.getAccessibleField(ExtractStyle.java:405)
    10. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.getDrawable(ExtractStyle.java:1103)
    11. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.getLayerDrawable(ExtractStyle.java:629)
    12. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.getRippleDrawable(ExtractStyle.java:820)
    13. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.getDrawable(ExtractStyle.java:1028)
    14. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.extractViewInformations(ExtractStyle.java:1187)
    15. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.extractTextAppearanceInformations(ExtractStyle.java:1336)
    16. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:2017)
    17. W/System.err( 1427): at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
    18. W/System.err( 1427): at java.lang.reflect.Method.invoke(Native Method)
    19. W/System.err( 1427): at java.lang.reflect.Method.invoke(Method.java:372)
    20. W/System.err( 1427): at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
    21. W/System.err( 1427): at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
    22. W/System.err( 1427): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
    23. W/System.err( 1427): at android.app.Activity.performCreate(Activity.java:5990)
    24. W/System.err( 1427): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1106)
    25. W/System.err( 1427): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2278)
    26. W/System.err( 1427): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
    27. W/System.err( 1427): at android.app.ActivityThread.access$800(ActivityThread.java:151)
    28. W/System.err( 1427): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
    29. W/System.err( 1427): at android.os.Handler.dispatchMessage(Handler.java:102)
    30. W/System.err( 1427): at android.os.Looper.loop(Looper.java:135)
    31. W/System.err( 1427): at android.app.ActivityThread.main(ActivityThread.java:5254)
    32. W/System.err( 1427): at java.lang.reflect.Method.invoke(Native Method)
    33. W/System.err( 1427): at java.lang.reflect.Method.invoke(Method.java:372)
    34. W/System.err( 1427): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903)
    35. W/System.err( 1427): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698)
    36. W/System.err( 1427): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object java.lang.reflect.Field.get(java.lang.Object)' on a null object reference
    37. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.getDrawable(ExtractStyle.java:1103)
    38. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.getLayerDrawable(ExtractStyle.java:629)
    39. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.getRippleDrawable(ExtractStyle.java:820)
    40. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.getDrawable(ExtractStyle.java:1028)
    41. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.extractViewInformations(ExtractStyle.java:1187)
    42. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.extractTextAppearanceInformations(ExtractStyle.java:1336)
    43. W/System.err( 1427): at org.qtproject.qt5.android.ExtractStyle.<init>(ExtractStyle.java:2017)
    44. W/System.err( 1427): at org.qtproject.qt5.android.QtActivityDelegate.loadApplication(QtActivityDelegate.java:438)
    45. W/System.err( 1427): at java.lang.reflect.Method.invoke(Native Method)
    46. W/System.err( 1427): at java.lang.reflect.Method.invoke(Method.java:372)
    47. W/System.err( 1427): at org.qtproject.qt5.android.bindings.QtActivity.loadApplication(QtActivity.java:245)
    48. W/System.err( 1427): at org.qtproject.qt5.android.bindings.QtActivity.startApp(QtActivity.java:655)
    49. W/System.err( 1427): at org.qtproject.qt5.android.bindings.QtActivity.onCreate(QtActivity.java:895)
    50. W/System.err( 1427): at android.app.Activity.performCreate(Activity.java:5990)
    To copy to clipboard, switch view to plain text mode 

    I forgot to mention Ubuntu 14.04, latest sdk and ndk. I have no problem deploying on the same device (Nexus 4) with android studio, so it seems to be isolated to qt creator 3.3/qt 5.4 . The nexus 4 has the latest lollipop version. No issues with the emulator or with a Galaxy Note 4 device. Just the nexus 4. No issues deploying apps on the nexus with AndroidStudio (latest) either.
    Last edited by fenrice; 5th September 2015 at 21:25.

  2. #2
    Join Date
    Sep 2015
    Posts
    2
    Qt products
    Qt5 Qt/Embedded

    Default Re: Issues on Nexus 4

    Progress. I was able to connect and run an app when I did a factory reset. I still get a slew of messages as above, but it does appear that the apps are actually running. Before I was only getting the above and then no connection of adb to the device (it would just disappear from the devices list "adb devices") . Now I'm having trouble getting the debugger to work, but I'll google for a while before I bother you guys any more .

  3. #3

    Default Re: Issues on Nexus 4

    I encountered the same issues before, i did the same thing.... factory reset

Similar Threads

  1. Replies: 1
    Last Post: 5th January 2015, 09:03
  2. Issues with Uic.
    By queelius in forum Qt Programming
    Replies: 4
    Last Post: 2nd December 2010, 13:37
  3. 4.6.0 issues on OS X 10.6 with GL
    By treaves in forum Qt Programming
    Replies: 2
    Last Post: 2nd December 2009, 17:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.