I\'ve just pasted this file in a new project, but I\'m getting:
Cannot resolve symbol FragmentCompat;
any help?
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
In Android studio, right click on the project, select "Open Module Settings" and add support library v13 like so: