1.在项目根目录下新建 lib文件夹 将jar放入 2.build.gradle中添加依赖 dependencies { compile fileTree(dir:'lib',include:['*.jar']) }