首页 > 其他 > 详细

导入module

时间:2016-08-16 13:11:56      阅读:113      评论:0      收藏:0      [点我收藏+]

1、http://blog.csdn.net/cryssdut/article/details/50357876

2、直接把lib复制黏贴到项目里,无法直接用;需要在 settings.gradle中加入:

include ‘:app‘,‘:MPChartLib‘
重新编译即可;

会在app底下的build.gradle文件中添加 compile project(path: ‘:MPChartLib‘)
dependencies {
compile fileTree(dir: ‘libs‘, include: [‘*.jar‘])
testCompile ‘junit:junit:4.12‘
compile ‘com.android.support:appcompat-v7:23.4.0‘
compile project(path: ‘:MPChartLib‘)
}

导入module

原文:http://www.cnblogs.com/kingsam/p/5775977.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!