Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ProGuard: Warning: butterknife.internal.InjectViewProcessor:

Tags:

android

I faced this error during generating apk using idea13

ProGuard:  Warning: butterknife.internal.InjectViewProcessor: can't find superclass or interface javax.annotation.processing.AbstractProcessor
like image 325
Mohammed Subhi Sheikh Quroush Avatar asked Mar 06 '14 21:03

Mohammed Subhi Sheikh Quroush


1 Answers

Even though you didn't post an actual question, I'm assuming you want that warning gone.

Add the following lines to your ProGuard configuration:

-dontwarn butterknife.internal.**
-keep class **$$ViewInjector { *; }
-keepnames class * { @butterknife.InjectView *;}

source

like image 176
Sebastiano Avatar answered Oct 19 '22 11:10

Sebastiano