Cannot resolve symbol FragmentCompat

前端 未结 2 1673
北荒
北荒 2021-02-07 05:54

I\'ve just pasted this file in a new project, but I\'m getting:

Cannot resolve symbol FragmentCompat;

any help?

相关标签:
2条回答
  • 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

    0 讨论(0)
  • 2021-02-07 06:02

    In Android studio, right click on the project, select "Open Module Settings" and add support library v13 like so:

    0 讨论(0)
提交回复
热议问题