cannot resolve android symbol - android app - intelliJ

后端 未结 3 2004
故里飘歌
故里飘歌 2021-01-18 02:46

I am using intellij-idea to develop android app. I created a project with an android module, but none of these :

import android.app.Activity;
import android         


        
3条回答
  •  长发绾君心
    2021-01-18 03:31

    Basically, this is because you didn't add Android SDK. So you need to add android SDK.

    • go to Files and select project structure.
    • go to project and select the project SDK
    • click New and select Android SDK version

提交回复
热议问题