Proguard Interface class which has another interfa

2019-04-14 08:06发布

I have an Interface class A and in the Class A i have another Interface B I am trying to proguard the Package and when i build it in gradle I getting

The below error

symbol:   class B
  location: interface A
../Progaurd/android/trunk/sample/module-c/src/main/java/com/c/db/C.java:24: error: cannot find symbol
public class C implements B 

The actual class is as follows

public interface A{
       public interface B{
         ...
       }
}

I have tried with the below lines in proguard-project.txt file

-keep class * implements com.sample.manager.storage.A.B

Please help me....

1条回答
狗以群分
2楼-- · 2019-04-14 08:16
-keep public interface com.sample.manager.storage.A$B {*;}
查看更多
登录 后发表回答