Qt6.8.2 Android:No Device set.
-
I have configured SDK, NDK and SSL according to the documents and videos on the official website, and the configuration displayed in Qt is correct.Below is the screenshot:
But I have the following problem:
What should I do? -
Can you be a little more specific?
There doesn't seem to be an Android Device to choose from. -
If you're using an actual phone, make sure usb debugging is enabled in the developer settings and that file transfer via USB is also enabled.
2 typical pitfalls.
Also make sure your device is officially supported by AndroidStudio, some OEM's have proprietary tool chains & sdk's and you won't be able to make those work (easily, I never was able)
-
If you're using an actual phone, make sure usb debugging is enabled in the developer settings and that file transfer via USB is also enabled.
2 typical pitfalls.
Also make sure your device is officially supported by AndroidStudio, some OEM's have proprietary tool chains & sdk's and you won't be able to make those work (easily, I never was able)
@J-Hilk Are you saying that if I'm using a real phone, I need to put the phone in developer mode and turn on USB debug?Thank you very much for reminding me, but my real USB connected phone is not found in Qt now.It's too early to tell, I can't compile my project right now because I haven't deployed the Android environment yet.
-
@J-Hilk Are you saying that if I'm using a real phone, I need to put the phone in developer mode and turn on USB debug?Thank you very much for reminding me, but my real USB connected phone is not found in Qt now.It's too early to tell, I can't compile my project right now because I haven't deployed the Android environment yet.
-
@jsulm
I have now added an Android device, as shown below:
Then I created a new Android project(blank project), directly compiled, the error is as follows:
What should i do? -