码迷,mamicode.com
首页 > 移动开发 > 详细

android使用library

时间:2015-08-26 17:12:51      阅读:157      评论:0      收藏:0      [点我收藏+]

标签:

 

http://www.vogella.com/tutorials/AndroidLibraryProjects/article.html

 

 

介绍support lib使用

http://developer.android.com/tools/support-library/setup.html

 

Adding libraries without resources

 

  1. Make sure you have downloaded the Android Support Library using the SDK Manager.
  2. Create a libs/ directory in the root of your application project.
  3. Copy the JAR file from your Android SDK installation directory (e.g., <sdk>/extras/android/support/v4/android-support-v4.jar) into your application‘s project libs/ directory.
  4. Right click the JAR file and select Build Path > Add to Build Path.

 

Adding libraries with resources

参考setup文档,要先建立一个library project,然后再引用这个project

 

发现studio好简单啊

android使用library

标签:

原文地址:http://www.cnblogs.com/cute/p/4760685.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!