Wednesday, May 1, 2013

[android-developers] Re: progaurd.cfg built apk not working

remove the curly braces at the end...
just this is enough:

-keep public class * extends android.app.Application

On Wednesday, May 1, 2013 3:40:45 PM UTC+3, vani wrote:
Hi All,

I have a class which extends android.app.Application.

In the progaurd.cfg file I have given 

-keep public class * extends android.app.Application{*;}
-keep public class  <packagename>.<application class name>

-dontwarn   <packagename>.<application class name>.**

I am able to export the apk successfully but after installing it in device its throwing
ClassNotFoundException for application class.


How to solve this issue??

--
Regards,
Vani Reddy

--
--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

No comments:

Post a Comment