android使用library
http://www.vogella.com/tutorials/AndroidLibraryProjects/article.html
介绍support lib使用
http://developer.android.com/tools/support-library/setup.html
Adding libraries without resources
- Make sure you have downloaded the Android Support Library using the SDK Manager.
- Create a libs/directory in the root of your application project.
- 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 projectlibs/directory.
- Right click the JAR file and select Build Path > Add to Build Path.
Adding libraries with resources
参考setup文档,要先建立一个library project,然后再引用这个project
发现studio好简单啊

 
                
            
         浙公网安备 33010602011771号
浙公网安备 33010602011771号