After some investigation of QtActivityDelegate.java and the log file, I think the problem is: pong file /data/local/tmp/qt/debug-pong-org.qtproject.example.testAndroid was not created before time out. I also checked the file system in userdata-qemu.img of the android virtual device and found that the socket file /data/data/org.qtproject.example.testAndroid/debug-socket has been created by gdbserver and ping file /data/data/org.qtproject.example.testAndroid/debug-ping has also been created. But pong file /data/local/tmp/qt/debug-pong-org.qtproject.example.testAndroid doesn't exist, even the directory /data/local/tmp/qt doesn't exist. So who is responsible for writing the pong file? Why the pong file can't be created ? Any suggestion will be appreciated!
On Sun, Jan 12, 2014 at 12:04 PM, Liang Jian <jianlian...@gmail.com> wrote: > Hello everyone, > Recently I want to write apps for andriod using qt5.2, I wrote a very > simple widget based test app using qtcreator 3.0 in a ubuntu 12.04 x64 > machine, the app "run" perfectly in the android virtual device, but I > failed to "debugging" the app in the android virtual device, the message in > 'Application Output' panel of qtcreator tell me: > > Debugging starts > Unable to start 'org.qtproject.example.testAndroid'.Debugging has > failed > Debugging has finished > > Then I check the log message by 'adb logcat > log.txt', it seems that > Qt time out when waiting for pong file due to an exception has occurred at > org.qtproject.qt5.android.bindings.QtActivity.loadApplication(), and the > exception was thrown in QtActivityDelegate.startApplication(). but I don't > know what to do. I have attached the log file, I hope this log file maybe > helpful to you to find the issue in my environment, thanks! > BTW, Is it possible for me to debug into QtActivityDelegate.java by > qtcreator? > > Best Regards > Liang Jian >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest