android stutio 添加依赖

添加依赖有 3种方法:

1 :copy jar 包到libs目录 ,add to library

2: copy  aar 文件到libs  ,gradle 文件

android 节点添加 
repositories {
flatDir {
dirs 'libs'
}
}

implementation(name: 'library', ext: 'aar')

3:通过jcenter

 

posted @ 2020-02-24 15:37  ForMeDream  阅读(130)  评论(0)    收藏  举报