在 android 工作室项目中添加库?
adding a library in android studio project?
我找不到将此库添加到我的 Android Studio 项目的方法
我需要知道应该在哪里提取这个文件
只需添加
compile 'com.github.sundeepk:compact-calendar-view:1.8.4'
在你的
build.gradle(模块:应用程序)
在依赖部分
添加这一行
compile 'com.github.sundeepk:compact-calendar-view:1.8.4'
到build.gradle(模块:app)使依赖部分看起来像
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.github.sundeepk:compact-calendar-view:1.8.4'
}
我找不到将此库添加到我的 Android Studio 项目的方法
我需要知道应该在哪里提取这个文件
只需添加
compile 'com.github.sundeepk:compact-calendar-view:1.8.4'
在你的
build.gradle(模块:应用程序)
在依赖部分
添加这一行
compile 'com.github.sundeepk:compact-calendar-view:1.8.4'
到build.gradle(模块:app)使依赖部分看起来像
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
testCompile 'junit:junit:4.12'
compile 'com.android.support:appcompat-v7:23.3.0'
compile 'com.github.sundeepk:compact-calendar-view:1.8.4'
}