Android Studio: “SDK installation does not have the ”Extras > Android Support Repository“ installed” BUT IT HAS BEEN INSTALLED

后端 未结 4 604
甜味超标
甜味超标 2021-01-07 22:35

I created Android Project but then I immediately get information that there have been errors.

Warning:(22, 12) Dependency on a support library, but the SDK i         


        
相关标签:
4条回答
  • 2021-01-07 23:15

    Unfortunately, this bug appears to have resurfaced since it was last fixed. I have filed a new bug report to track it:

    https://issuetracker.google.com/issues/37592307

    Please "star" the bug report if it's affecting you.

    0 讨论(0)
  • 2021-01-07 23:32

    For me it was a very silly error and I spent the last two days trying to get around this. The path to the SDK in local.properties file was not properly escaped.

    Change this:

    # Location of the android SDK
    sdk.dir=C:/Android/sdk
    

    to this:

    # Location of the android SDK
    sdk.dir=C\:/Android/sdk
    

    Refresh the gradle again.

    0 讨论(0)
  • 2021-01-07 23:36

    This is bug https://code.google.com/p/android/issues/detail?id=68834 and will be fixed in 0.5.9. In the meantime you can ignore the warning.

    0 讨论(0)
  • 2021-01-07 23:36

    When you download Android Studio you have 0.5.2 version,There is a solution is to downgrade exactly to 0.5.4 and download from here : Android Studio 0.5.4

    after download the file just drag and drop in the place where you installed Android studio 0.5.2

    0 讨论(0)
提交回复
热议问题