how to overcome Android Studio cannot resolve symbol for android classes

前端 未结 6 1515
小蘑菇
小蘑菇 2020-12-25 11:01

I\'v just installed Android Studio 0.8.2 for my first time and I have a lot of \"Cannot resolve symbol\" errors. The errors occur on both new projects and projects which wer

6条回答
  •  自闭症患者
    2020-12-25 11:26

    In the menu bar

    Select tools>-android>-SDK manager

    and download the SDK build tools, SDK platform and Google API's( the Google API stores packages such as "import android.view.Menu" etc.) for the target SDK version of your project(20 as shown in your screenshot). if you are not sure which items you have to download , you can select all of them.(will take more time to download of course).

    Restart the IDE

提交回复
热议问题