Giter Site home page Giter Site logo

Comments (12)

fda77 avatar fda77 commented on June 11, 2024

I tried to remove proguard some days ago, but the apk sitze grows from ~500kb to ~650kb

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

I still want to keep it minus the Obfuscation.

from andlytics.

fda77 avatar fda77 commented on June 11, 2024

Where are the 4 files of ./proguard/ of each release? Without them no deobfuscation possible..
ProGuard is not only for obfuscation! Maybe we could disable renaming of functions

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

I don't know, will check when I am back home.
I know ProGuard does more than obfuscation, like optimization of the code etc. That why I said I want to keep it minus the obfuscation. I used it like that in another project. Will also check back home.

from andlytics.

schoentoon avatar schoentoon commented on June 11, 2024

Read the docs about what flags actually obfuscate, keep proguard for things like optimization and shrinking. If I wasn't so busy right now I would open a pull request for this.

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

might be fixed

pull request:
#87

from andlytics.

fda77 avatar fda77 commented on June 11, 2024

From version 2.0.1 to 2.1.0 Andlytics is grown from 665 to 942 KB ( ~ 50% !)

from andlytics.

willlunniss avatar willlunniss commented on June 11, 2024

That is the ActionBarSherlock library.

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

see @willlunniss comment, plus I added the ico0n work for xhdpi. Besides we do not obfuscate the code anymore so the methods aren't shorten from whateverYourMethodeNameIs() to a(), but yes most of the KBs come from the ActionBar and this optimization is deactivated by default now in ADT20 as pointed out by @nelenkov
We will probably safe some KBs in the future when I will have found the time to cleanup the graphics still left but unused from the original design...

from andlytics.

nelenkov avatar nelenkov commented on June 11, 2024

BTW, optimization and removing unused code are separate things in ProGuard. Unused code is still removed, you can compare the debug build size vs. the release build size to confirm. Most of the size indeed comes from ABS resources, since it has PNGs for different densities, etc.

from andlytics.

AndyScherzinger avatar AndyScherzinger commented on June 11, 2024

True and we also have PNGs for hdpi and xhdpi now (so it looks nice on my phone and not blurry like it did before :)

from andlytics.

fda77 avatar fda77 commented on June 11, 2024

Oh, have forgotten ActionBarSherlock :)

from andlytics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.