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

后端 未结 22 2836
眼角桃花
眼角桃花 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:29

    I was facing the same issue. As it turns out in my build.gradle file there was this :

    configurations {
        all*.exclude group: 'com.android.support'
    }
    

    Removing that fixed my issue. So guys, if doing all that and still your issue is not fixed, look for any exclude keywords in your gradle file.

提交回复
热议问题