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


해결 방법



I have tried all of the following,

  • Invalidate Caches/Restart
  • Sync project with gradle files
  • Clean project
  • Rebuild project
  • gradlew clean

But, none of them worked for me.

Finally, I solved it by deleting "{ProjectFolder}/.idea/libraries", and then synced with gradle and built again.








출처

https://stackoverflow.com/questions/20386331/android-studio-and-android-support-v4-app-fragment-cannot-resolve-symbol

Posted by MR 손
,