今天想要导入glide包进入Studio,但是不知道怎么导入,项目结构有点奇怪,后来经过解决,解决办法如下
把JAR包直接复制到项目目录下面的lib目录下面,然后在Studio中Syn project with gradle file,最后在app modul中加入依赖第三方JAR包的代码
dependencies { compile fileTree(dir: '../../libs', include: ['*.jar']) compile project(':android-support-v7-appcompat') compile project(':android-support-v7-recyclerview') compile project(':design') compile 'com.android.support:multidex:1.0.0' compile 'com.github.bumptech.glide:glide:3.5.2' }然后再Projection中的External Library中就可以看到添加进来的第三方JAR包了