Getting Started with Android-build jar and reference jar for libraries

Source: Internet
Author: User

Development environment

1.eclipse

2.android Studio

Steps

1. Build the jar package in eclipse

2. Referencing the jar package in Android studio

Implementation steps

1. Create a Lib library project in Eclipse

2.Add com.cc.lib folder to src folder, then Add CLog file, then click F5 Refresh Find Bin folder, your would find Test.jar This jar is the jar you want.

3. Click the jar to copy to the Android Studio Libs folder to add to the corresponding library

Not only can you build a log library, you can also build a tool library. No validation added page

There is also a direct reference to the library project in the main project. Please refer to http://blog.csdn.net/qinlicang/article/details/42672467

Getting Started with Android-build jar and reference jar for libraries

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.