Qt Creator has no access to android sdk
-
Nobody left with any idea ?
I´m really disappointed from Qt !! -
What it strange is that it seems you have a mismatch between your current target and the one used when trying to install the application.
Are you trying to run your software on a device ?
-
I cannot run my software on a device, because the get the error:
Error: Target id ‘android—1’ is not valid. Use ‘android.bat list targets’ to get the target ids.
But I think that is only a wrong path problem.
As I already mentioned I get following error message in Qt Creator in tab “common output” when I press the button "Apply" or "OK" in dialog Settings->Android where I define the paths to SDK,NDK,JDK and ANT:ENG: “The system cannot locate the defined path”
GER: “Das System kann den angegebenen Pfad nicht finden”How can I determine which path the system cannot find ?
I should have more information. -
I added a new user profile in Win7 and installed the Qt 5.4.0 for Android software again. But I had no success. Still I get the error in Qt Creator->Extras->Settings->Android->“Add AVD” :
“no AVD could be created for there is no actual android-sdk available. Please install a android-sdk of API version 0 or newer”Can I no longer use Qt on my PC ?
Hello, is that really possible ?
What´s the problem ? -
Today I installed Qt for Android 5.4.1 on my Windows7 host.
DEEP DISAPPOINTMENT !!!!
The problem still consists. No access to Android SDK !!!!Is there nobody who matters that problem but me ??????
-
Have you mentioned path of JDK, SDk & NDK correctly ?
like :C:\Program Files (x86)\Java\jdk1.6.0_29
D:\Android\android
D:\Android\androidndkdid you installed Android with eclipse?
-
Hi, I faced the same problem today after upgrading to Qt 5.4.1 and the solution that worked for me was to delete all config files used by qtcreator, start qtcreator and setup JDK, Android SDK+NSK and download apache ant and provide the path to the ant binary. I use linux and up until now the system provided jdk and ant worked fine but after upgrading to 5.4.1 I had to get the latest jdk and ant binaries from the respective sites and this seems to have fixed the problem (maybe clearing out old config files also helped).
If you are wondering where the config files are, on linux they are usually:
~/.config/QtProject/
~/.config/QtProject.conf
~/.config/Trolltech.confPeace!
-
Hi, I've been having the same problem on Windows 7 64-bit.
I've just fixed it by switching from 64-bit JDK 1.8.0_40 to 32-bit JDK 1.7.0_71.
Hope this helps you sort it! -
Hi, I´ve found the solution for my problem.
The problem is the McAfee Virus Scan which causes a timeout when I try to add a new AVD. I found the information that the android.bat file will be executed, which will do a lot of file copy to the tmp-directory. Then MacAfee has a lot of work and this causes the timeout, which will result in the message "No AVD could be created for there is no actual android-sdk available...".
When MacAfee Virus Scan was disabled, this problem was solved.@Qt-Developement : Please, increase the value for this timeout in further versions (>Qt5.5.0) !!!!!
-
Hi and welcome to devnet,
You should rather post this to the interest mailing list. You'll find there Qt's developers/maintainers (this forum is more user oriented)