Android导入项目——找不到FloatingActionButton

标签 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

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

最佳答案

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

compile 'com.getbase:floatingactionbutton:1.9.1'

enter image description here

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

关于Android导入项目——找不到FloatingActionButton,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30745393/

相关文章:

java - Android Studio : Can I Refer to a Started Service in Java Code?

java - 使用 Java 拆分 URL 格式的字符串

java - Java 和 Scala 中的通配符导入用法

java - maven 的 classNotFound 错误?

python - Flask 循环导入问题 - 将变量从 __init__.py 导入到 View 中

php - 如何将当前时间戳添加到图像路径中

android - (DAGGER-ANDROID) 不能在 Espresso 测试中使用 @Inject 并且不能使用 mockWebServer

angular - 即使 Angular CLI 可以构建,Webclipse 也找不到模块

python - 带有 selenium 的单元测试在 python 中完美无缺,但在 django manage.py 测试中出现导入错误

python - 为什么主模块看不到里面的子模块?