zl程序教程

您现在的位置是:首页 >  移动开发

当前栏目

android使用library

Android library 使用
2023-09-27 14:21:18 时间

 

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好简单啊