What helped me was to disable the antivirus. Why below:
I have the same error and reinstallation did not help.
Starting manually the "android.bat list targets" from cmd gives the correct list of targets.
After digging into the QtCreator code, I found the reason - the magic code to get the list of goals in qt:
void AndroidConfig::updateAvailableSdkPlatforms() const { QProcess proc; proc.setProcessEnvironment(androidToolEnvironment().toProcessEnvironment()); proc.start(androidToolPath().toString(), QStringList() << QLatin1String("list") << QLatin1String("target"));
As you can see, if the "Android target for android.bat" cmd will not end in 10 seconds, qtcreator will just end the process.
In my case, it was 15 seconds before it ended due to antivirus scans - therefore disabling antivirus can help in your case.
No need to restart QtCreator, just open the Android section in the settings and all goals should be loaded.
I love Qt, itβs always like that.
source share