Hi,
I encountered this problem on Windows, but I think that this is the same
problem...
The main problem is that that QtCreator wait 5 seconds for Android SDK
for answer of available supported platforms... Try to close QtCreator,
delete .user file and open and configure project again.
If you computer is slow as my then you will receive correctly configured
project somewhere in third time. Just open .user file and look what
QtCreator wrote about Android platform... If there is android--1 then
try again, if you will see something like android-21 or android-16 then
everything is ok...
On 16.05.2015 03:07, Bob Hood wrote:
I've been trying different "tutorials" on setting up Qt/Creator under
Linux for Android development. So far, I've not been able to get any
to function, even those I find on Qt's own web site.
I have followed these rather simple steps[1], and set up the entire
environment under Linux (Mint) 32-bit. I installed Qt 5.4.1 for
Android, I ran "./android update sdk" and selected and installed the
default packages (16 in all). I set up Creator with all the fields
("JDK", "SDK", "NDK", etc.). Both ant and JDK were automatically
located and filled in by Creator.
I selected one of the example projects, told it to copy locally and
build. In the build output, I'm getting:
Warning: Android platform 'android--1' does not exist in SDK.
Error: Target id 'android--1' is not valid. Use 'android list
targets' to get the target ids.
I went looking, and found somebody else had this same issue[2]. I
tried to follow the posted solution, but my "Android build SDK"
drop-down won't display anything. It's basically empty.
What might I be missing here?
[1] http://doc.qt.io/qt-5/androidgs.html
[2]
http://stackoverflow.com/questions/28419098/error-while-building-qt-project-for-android
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest