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. Failed first try with Qt on Android
QtWS25 Last Chance

Failed first try with Qt on Android

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 2 Posters 978 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.
  • H Offline
    H Offline
    hgerdau
    wrote on last edited by
    #1

    Hi,

    I just started to evaluate Qt on Android and I'm unfortunately stuck in the beginning. Maybe someone has a hint for me.

    The problem: When running a new Hello World Project or a standard Qt example (for instance: org.qtproject.example.samegame) from QtCreator it tries to start the app and and after a while outputs:
    "org.qtproject.example.samegame" died.
    Logcat shows the following log from the android device (oneplusone).

    01-05 15:05:33.394 25696-25696/? D/AndroidRuntime: START com.android.internal.os.RuntimeInit uid 2000
    01-05 15:05:33.420 25696-25696/? D/AndroidRuntime: CheckJNI is OFF
    01-05 15:05:33.505 25696-25696/? D/ICU: No timezone override file found: /data/misc/zoneinfo/current/icu/icu_tzdata.dat
    01-05 15:05:33.567 25696-25696/? I/Radio-JNI: register_android_hardware_Radio DONE
    01-05 15:05:33.595 25696-25696/? D/AndroidRuntime: Calling main entry com.android.commands.am.Am
    01-05 15:05:33.598 1444-18680/? W/ActivityManager: Invalid packageName: org.qtproject.example.samegame
    01-05 15:05:33.598 25696-25696/? D/AndroidRuntime: Shutting down VM

    Invalid packageName? I'm confused.

    When using an AVD it does not work either.
    When using the desktop kit the example app works fine.

    No problem building and running a Hello Word Standard Project with Android Studio on the device.

    Here is my setup:

    Ubuntu 14.04 LTS 64bit.
    JDK Oracle 1.8.0_101
    NDK r10e
    Android Studio 2.2.3 with SDK installed
    qt-opensource-linux-x64-android-5.7.1.run

    The QtCreator android kits were automatically created.
    The apk is successfully build for armeabi-v7a

    Any idea?

    Regards,
    Heiko

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

      Hi,

      Unless I'm mistaken, you are getting help on this interest mailing list thread, correct ?

      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
      • H Offline
        H Offline
        hgerdau
        wrote on last edited by
        #3

        There I was redirected here ... :-)

        1 Reply Last reply
        0
        • H Offline
          H Offline
          hgerdau
          wrote on last edited by
          #4

          Resolved see
          http://lists.qt-project.org/pipermail/interest/2017-January/025687.html

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

            Great !

            Thanks for sharing the link :)

            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