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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.