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

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

    I got the same problem since I updated to latest version of Android Studio 0.3.7. So you can try with my stuffs.

    Ensure you have updated to latest version Android Support Repository - 3 Android Support Library - 19

    As your attachment picture above, you did it already. Then adding the following setting to your build.gradle

    dependencies {
        compile 'com.android.support:support-v4:19.0.0'
    }
    

    One more thing: Please make sure your Android SDK is targeting to right SDK folder

提交回复
热议问题