android - optimize the project code -
android - optimize the project code -
i have working on 1 project complex , contain much space many images java files .
somewhere have read proguard optimize code .
i have used still not effect on final apk file .
might have made error somewhere . have next http://developer.android.com/guide/developing/tools/proguard.html.
can 1 suggest me how can optimize code .
you can add together default.properties. i've been adding manually without having problem far.
if add together line:
proguard.config=proguard.cfg
as said utilize proguard when exporting signed application (android tools => export signed application)
if start project sdk before android 2.3 proguard.cfg file not created (next default.properties in 2.3>).
to enable automatic creation of it, update sdk of android 2.3 , create new project existing sources (which sources of project have).
automagically proguard.cfg fill created.
without optimizations compiler produces dumb code - each command compiled in straightforward manner, intended thing. debug builds have optimizations disabled default, because without optimizations produced executable matches source code in straightforward manner.
android proguard
Comments
Post a Comment