Qt Creator Android error “Platform SDK installed”

前端 未结 11 1965
春和景丽
春和景丽 2020-12-14 14:28

I am developing Qt Cross platform application for Android, recently i have updated Qt creator and Installed new Qt version. I am using \'Qt Creator version 4.5.0\'

11条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-14 15:01

    "Platform SDK installed" requires a working a sdkmanager command.

    If you have the Platform SDK installed, try running the sdkmanager command directly.

    This is $ANDROID_SDK_ROOT/tools/bin/sdkmanager. On my Linux system this was in $HOME/Android/Sdk/tools/bin/sdkmanager.

    The typically issue is

    • You need to install JDK 8 properly (note that JDK 9, JDK 10 and JDK 11 will not work!)

    If you have installed a newer JDK you will need to downgrade to JDK 8. Either OpenJDK or Oracle will work, but it needs to be JDK 8.

    Work thru any remaining issues with the sdkmanager command line, then, once that's done, you should find Qt Creator to be happy again.

    References:

    • https://developer.android.com/studio/write/java8-support
    • https://issuetracker.google.com/issues/67495440

提交回复
热议问题