Reputation: 31749
I've just pasted this file in a new project, but I'm getting:
Cannot resolve symbol FragmentCompat;
any help?
Upvotes: 18
Views: 15875
Reputation: 3211
You need to add support library v13.
compile 'com.android.support:support-v13:version_of_library'
Android also you need to add support library support-v4
, because support-v13
depends on support-v4
More information you can find here
Upvotes: 28
Reputation: 996
In Android studio, right click on the project, select "Open Module Settings" and add support library v13 like so:
Upvotes: 11