Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6096479
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:55:56+00:00 2026-05-23T12:55:56+00:00

Using proguard seems to be quite confusing. I am interested in simply obfuscating a

  • 0

Using proguard seems to be quite confusing. I am interested in simply obfuscating a few packages within my app. I have eclipse set up in windows with the latest Android API’s. I have added the default proguard.cfg which builds my app with no problem, but when I run the app, certain functionality of the app does not work anymore. It just does weird stuff.

Also, whenever I create a new project, it never automatically creates the proguard.cfg, I have no idea why. But I can find it in

android-sdk-windows\tools\lib

All I am really interested in doing is obfuscating certain packages or even a couple classes in my code. If I could do that I’d be pretty content. Is there any simple way to just say “obfuscate THIS”. Any basic configs you guys could share?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:55:56+00:00Added an answer on May 23, 2026 at 12:55 pm

    I finally added -dontshrink and -dontoptimize to the proguard.cfg because proguard was stipping out code even when I would specific -keep class xxxxx. So now my code is obfuscated, but not optimized and shrunk, which is all I really wanted in the first place.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using ProGuard to obfuscate my code. My project is comprised of a few
I have two versions of the same application using identical proguard.cfg with the following
Does anyone have experience in using ProGuard and are there already measurements about application
Using online interfaces to a version control system is a nice way to have
Using TortoiseSVN against VisualSVN I delete a source file that I should not have
Using JDeveloper , I started developing a set of web pages for a project
I'm using Antenna to build, pack and obfuscate a j2me app. Building and packing
Does anyone know how to integrate ProGuard with NetBeans 6.7/6.8 ? I've been using
Using Core Data. Let's say we have models for Team and Player. Assume: -Each
Using a site like StackOverflow as an example: I have a table of users,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.