0

I have a class that has an Interface.

class A {
    public interface B {
    }
}

Another class will use this interface

B h = new B(){ };

But after I've obfuscated the interface doesn't work. My Proguard:

-keep interface A$B{*;}
Lachlan Goodhew-Cook
  • 1,101
  • 17
  • 31
xinglinCai
  • 135
  • 1
  • 1
  • 9

1 Answers1

-1

If you use proguard: You need use tag "-keep" like in this post: How keep my class from obfuscate by proguard. Also you need read this article: http://developer.android.com/tools/help/proguard.html#configuring Regards Dzmitry

Community
  • 1
  • 1