标签:
1、将第三方开源jar包代码拷入工程文件夹
2、在settings.gradle添加
include ‘:app‘
include ‘:app‘,‘:MPChartLib‘
3、在APP/build.gradle文件添加
dependencies { compile fileTree(dir: ‘libs‘, include: [‘*.jar‘]) compile ‘com.android.support:appcompat-v7:22.1.1‘ compile ‘com.google.android.gms:play-services:7.3.0‘ compile project(‘:MPChartLib‘) }
4、修改调整MPChartLib下 build.gradle,使版本号相同
Android --Android Stuido 导入jar包
标签:
原文地址:http://www.cnblogs.com/bmbh/p/4810146.html