无法解析符号CoordinatorLayout [英] Cannot resolve symbol CoordinatorLayout
本文介绍了无法解析符号CoordinatorLayout的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以在我的xml文件中使用协调器布局但是当我尝试在我的java类中导入它时,它说无法解析符号CoordinatorLayout,而同一个包中的其他类工作正常。
I can use coordinator layout in my xml files but when I tried to import it in my java class it said "Cannot resolve symbol CoordinatorLayout while other classes in the same packages work fine.
屏幕截图如下所示:
Screenshot is shown below:
依赖关系:
Dependencies:
推荐答案
试试这个
compile 'com.android.support:design:25.1.1'
这篇关于无法解析符号CoordinatorLayout的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文