Details
-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 13.0.2
-
None
-
Android Studio Giraffe | 2022.3.1 Patch 1
Description
Qt Creator is unable to debug an Android app while Android Studio is running. The debugger will just get stuck connecting to the app with an output like this:
W ActivityThread: Application com.example.app is waiting for the debugger on port 8100... I System.out: Sending WAIT chunk killall: lldb-server: No such process20:16:20: Debugging -qmljsdebugger=port:55827,block,services:DebugMessages,QmlDebugger,V8Debugger,QmlInspector,DebugTranslation ... CONNECT: success adb://emulator-5554:5039 platform: remote-android True
It is very easy to run into this e.g. when using Android Studio to edit Java code of a Qt app, as exemplified by the many issues have been reported due to this issue (e.g. QTCREATORBUG-23472, QTCREATORBUG-23240, QTCREATORBUG-20343, and probably others). Our developers regularly run into this even though they know about this limitation.
This should get fixed, or at the very minimum a running Android Studio app should be detected by Qt Creator and the user warned if they start to debug an Android app.
Attachments
Issue Links
- relates to
-
QTCREATORBUG-31277 Android Device is "Waiting For Debugger"
- Reported
-
QTCREATORBUG-28974 Allow easy switching between Android Studio and Qt Creator
- Reported