Android and android Official Website

Source: Internet
Author: User

Android and android Official Website
How to Use ProGuard GUI in a obfuscated jar package


Address: http://blog.csdn.net/caroline_wendy


To ensure Java code portability and privacy, We need to generate the java code Jar package, In use ProGuardBut to make it usable, we should ensure the readability of the Code interface, that is Reserved Class NameAnd Public method name;
1. Download ProGuard tool http://sourceforge.net/projects/proguard/files/2. Use ProguardGUI tool to enter the bin folder, start
Wangchenlong: bin wangchenlong $./proguardgui. sh

3. modify the configuration Environment (1) Add jar files for Input and Output; (2) Shrink options-keep Applications, Library (ADD); (3) Obfuscate options-default (4) optimization and Information are not checked;
4. Process! Generate a mixed jar package 5. Android note that the android project must delete BuildConfig. java. Otherwise, redundancy will occur during compilation.




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.