Android Studio 如何引入jar包?
2014-10-27 10:32
351 查看
1.首先把需要用的jar包拷贝到app/libs目录下,比如拷入 picasso-2.3.4.jar
2.在app/build.gradle做如下操作
//在dependencies添加如下信息,然后编译即可
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
// You must install or update the Support Repository through the SDK manager to use this dependency.
compile files('libs/picasso-2.3.4.jar')
}
2.在app/build.gradle做如下操作
//在dependencies添加如下信息,然后编译即可
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
// You must install or update the Support Repository through the SDK manager to use this dependency.
compile files('libs/picasso-2.3.4.jar')
}
相关文章推荐
- Android Studio 中如何引入 layoutlib.jar?
- Android Studio如何引入so,jar文件
- android studio如何引入第三方库(.jar)
- Android Studio 中如何引入 layoutlib.jar?
- Android Studio如何引入jar包和so库?
- Android Studio 中如何引入 layoutlib.jar?
- Android Studio 中如何引入 layoutlib.jar?
- Android Studio 如何引入.jar文件和.so文件?
- 兔子--Android Studio中引入jar包
- android studio 不能引入jar包问题
- android studio 如何加载第三方的jar和so
- 【Eclipse】eclipse如何在User Libraries添加自己的库文件夹目录以及引入外部jar库文件
- Android Studio如何引用jar包(非gradle)
- android工程中引入第三方JAR包后安装APK时老是提示找不到库文件 || Android如何将程序打成jar包 || 运行java.lang.noclassdeffounderror错误
- Android Studio如何导入jar,so,以及第三方的开源库?
- Android Studio 项目中引入jar包及so包
- Android studio 导入jar, so文件和引入library文件
- 如何引入第三方jar包(以google play service为例
- Android Studio 如何导入第三方jar包(整理)
- 如何引入第三方jar包(以google play service为例)