Android 正在导入项目 -- 找不到 FloatingActionButton

Android Importing Project -- FloatingActionButton cannot be found

我正在尝试导入位于以下位置的项目: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

如何保证这个项目导入成功?

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

compile 'com.getbase:floatingactionbutton:1.9.1'

希望对您有所帮助,祝您好运:)