1. 把Arr copy 到指定目录
xxx/app/libs/
2. 在build.gradle(Module app)文件中设置依赖,额,或许有其他名字:
如下红色字体部分为新增
dependencies { compile fileTree(include: ['*.jar'],dir: 'libs') compile(name: 'mylib-debug',ext: 'aar') androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.1',{ exclude group: 'com.android.support',module: 'support-annotations' }) testCompile 'junit:junit:4.12' }
原文链接:https://www.f2er.com/ubuntu/351111.html