Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt sample app shows black screen when running as start-up on Android device
missingsailor last edited by
I want to replace the Android default launcher with our own Qt app, so I create a simple demo, and:
run settings -> create AndroidManifest.xml
<category android:name="android.intent.category.DEFAULT" />
then I pack the test app with qt deploy, and push the apk file into /system/app/
then I removed the default Launcher2.apk
so there's only our test app with HOME category in the device.
after reboot, our test app'll get stunk at the black screen (like console UI),
and if I press the back key it'll crash.
this app works well if I start it normally with launcher,
and I've tried to replace the default Launher with native java app demo, and it also works well.
Anyone knows why?
Moumoune last edited by
I have exactly the same problem.
fecub last edited by
Connect your phone with your computer. Activate debbuging on your phone. Start DDMS on your Computer launch the application again and read the error message which is in DDMS shown. It's difficult to say what is wrong.