Reg: Optimization options applying for specific methods in a class

uday
2013-10-22
2013-10-22
  • uday

    uday - 2013-10-22

    Hi,

    I am using proguard tool for optimising..but unable to apply optimisation options, for few methods in a class file.
    Dont want to apply the optimisations options to all class files in the project.

    Tried using -keep, -keepclassmembers... but didnot help..!!

    Please suggest me, how to approach..

     
  • Eric Lafortune

    Eric Lafortune - 2013-10-22

    You can keep the names and signatures of specific classes, fields, and methods, but optimizations are applied to all bytecode inside all methods. You can only specify -dontoptimize or -optimizations.

    Eric

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks