Android Studio and android.support.v4.app.Fragment: cannot resolve symbol

后端 未结 22 2803
眼角桃花
眼角桃花 2020-12-01 06:03

I am tryng out Android Studio instead of Eclipse. I install it and then start a completely new project and follow the wizard. I add no code of my own.

Then, I right-

22条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-01 06:32

    enter image description hereI found a shortcut: File - Project Structure - Tab:Dependencies Click on the green + sign, select support-v4 (or any other you need), click OK.

    now go to your gradle file and see that is been added

提交回复
热议问题