如何添加android工作室库
问题描述:
可能有人解释我如何添加一个库到我的android工作室的项目?如何添加android工作室库
这是库:https://github.com/code-troopers/android-betterpickers
我想使用复发选择器。在此先感谢
答
您需要添加此库作为依赖以下在您的项目(假设你使用Android工作室)添加这种依赖在你的gradle 构建脚本:
dependencies {
compile group: 'com.code-troopers.betterpickers', name: 'library', version: '3.1.0'
}
我已经这样做了。我得到这些错误:http://mygym2017.altervista.org/Screenshot__14_.png –