I tried creating an Android app. using tabs in Android Studio. I ran into the issue where all my fragment imports were causing the error
Cannot Resolve Symbol 'FragmentManager'
Tools > Android > Sync Project with Gradle Files
apply plugin: 'com.android.application'
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
compile fileTree(dir: 'libs', include: ['*.jar'])
While this was not my question, I stumbled upon [this] thread, that suggests that you add other dependencies to the build for the support build library. Add this line within the dependencies section:
(For more clarification, using the previous code, you would add this beneath the
compile fileTree(dir: 'libs', include: ['*.jar']).
Once you've added this, Android Studio would point out the gradle files have changed and that you should re-sync them. Once the sync is complete, it should resolve the not being able to find the fragments!