Sunday, May 1, 2011

[android-developers] Proguard and onClick attribute

For every new project, I always have to add the following lines to
proguard.cfg:

-keepclassmembers class * extends android.app.Activity {
public void *(android.view.View);
}

Otherwise the onClick methods disappear when I publish the app. Is
there a way for us to change the default proguard.cfg file that's
created with a new project?

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate