Re: [Interest] Failed first try with Qt on Android
Thanks a lot. That fixed it. Don't know what was wrong in the ".pro.user". I did not even look at it ever before. Gradle was set before. So thanks again and have a nice weekend as I will have now ... Am 06.01.2017 um 13:07 schrieb Petar Koretić: Try removing .pro.user to reconfigure kits (close project, remove .pro.user, open .pro) Switch to gradle if you use ant - Projects > Buld Android APK > Details Use Gradle This should reset it enough to give you a clean start ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Failed first try with Qt on Android
Installing the generated apk by hand on the device does work. So it seems to be a deploying issue. Am 05.01.2017 um 15:41 schrieb h...@technosis.de: 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 ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Failed first try with Qt on Android
I don't consider this a "how to use Qt"-Question. Anyway what conventional Qt-users forum do you suggest? Am 05.01.2017 um 16:35 schrieb Serge K via Interest: I think this question better ask in conventional Qt-user's forums. There are lots of people creating applications for Android using Qt (including me). All works fine and users will better help. This list is related to Qt internals and features but not "how to use it". Четверг, 5 января 2017, 17:41 +03:00 от "h...@technosis.de" <h...@technosis.de>: 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 ___ Interest mailing list Interest@qt-project.org <mailto:Interest@qt-project.org> http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest -- Technosis AG Kattrepelsbrücke 1 20095 Hamburg Telefon +49-40-2190897-0 Telefax +49-40-2190897-99 Supporthotline ATAQ FM: +49-40-2190897-97 Supporthotline ATAQ Risk: +49-40-2190897-91 Support Mail: supp...@technosis.de Internet: www.technosis.de Sitz: Hamburg, HRB 121100, USt-IdNr. DE155155689 Vorstand: Tobias Dittmar (Vors.), Heiko Gerdau, Dierk Rathjen Vorsitzender des Aufsichtsrates: Walter Beyer ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Failed first try with Qt on Android
Same package name in manifest. Or what does your question mean? Am 05.01.2017 um 16:33 schrieb Jason H: It might be, but what does your manifest say? Sent: Thursday, January 05, 2017 at 10:31 AM From: "h...@technosis.de" <h...@technosis.de> To: interest@qt-project.org Subject: Re: [Interest] Failed first try with Qt on Android Thanks Jason, I have seen that bug. But there the created packagename was indeed invalid. Whereas "org.qtproject.example.samegame" is obviously valid. I think the error message is misleading and the result of something else. Since I do nothing else than standard qt setup build and run and nobody else seem to have this problem there must be something stupid I missed. Heiko Am 05.01.2017 um 15:59 schrieb Jason H: I haven't seen this error in a while, but it is pointing to a mismatch between what is in the manifest and the APK. Also see https://bugreports.qt.io/browse/QTCREATORBUG-12009 It should not be happening, but maybe that will point you in the right direction. Sent: Thursday, January 05, 2017 at 9:41 AM From: "h...@technosis.de" <h...@technosis.de> To: interest@qt-project.org Subject: [Interest] Failed first try with Qt on Android 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 ___ ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest -- Technosis AG Kattrepelsbrücke 1 20095 Hamburg Telefon +49-40-2190897-0 Telefax +49-40-2190897-99 Supporthotline ATAQ FM: +49-40-2190897-97 Supporthotline ATAQ Risk: +49-40-2190897-91 Support Mail: supp...@technosis.de Internet: www.technosis.de Sitz: Hamburg, HRB 121100, USt-IdNr. DE155155689 Vorstand: Tobias Dittmar (Vors.), Heiko Gerdau, Dierk Rathjen Vorsitzender des Aufsichtsrates: Walter Beyer ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Failed first try with Qt on Android
Thanks Jason, I have seen that bug. But there the created packagename was indeed invalid. Whereas "org.qtproject.example.samegame" is obviously valid. I think the error message is misleading and the result of something else. Since I do nothing else than standard qt setup build and run and nobody else seem to have this problem there must be something stupid I missed. Heiko Am 05.01.2017 um 15:59 schrieb Jason H: I haven't seen this error in a while, but it is pointing to a mismatch between what is in the manifest and the APK. Also see https://bugreports.qt.io/browse/QTCREATORBUG-12009 It should not be happening, but maybe that will point you in the right direction. Sent: Thursday, January 05, 2017 at 9:41 AM From: "h...@technosis.de" <h...@technosis.de> To: interest@qt-project.org Subject: [Interest] Failed first try with Qt on Android 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 ___ ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] Failed first try with Qt on Android
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 ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest