Android导入项目 - 找不到FloatingActionButton

时间:2015-06-10 01:04:45

标签: android import importerror floating-action-button

我正在尝试导入位于https://github.com/lancevalour/Rise/tree/master/res

的项目

但尝试导入后,Android Studio会出错并简单地注明:

* Project Rise:G:\Hard Disk Downloads\Rise-master\Rise-master\project.properties:
Library reference ..\FloatingActionButton could not be found
Path is G:\Hard Disk Downloads\Rise-master\Rise-master\..\FloatingActionButton which resolves to G:\Hard Disk Downloads\Rise-master\FloatingActionButton

如何确保成功导入此项目?

1 个答案:

答案 0 :(得分:8)

将此行添加到您的gradle中 - " build.grade"文件

compile 'com.getbase:floatingactionbutton:1.9.1'

enter image description here

希望它有所帮助,祝你好运:)