android - Proguard NoSuchMethodError ITelephony -


my code works fine after applying proguard getting following exception

05-04 16:12:00.803: e/androidruntime(22257): java.lang.nosuchmethoderror: com.android.internal.telephony.itelephony.a

i ma having itelephony.aidl still getting error. can tell me if there way around ?

on google, couldn't more information on examples of how keep interfaces, interface members , inner classes along inner class members.

actually want keep in app obsfucate , optimize it. there way achieve ?

you need exclude itelephony class proguard, i.e. add ...

-keep class com.android.internal.telephony.itelephony { *; } 

... entry proguard.cfg file. you'll find in project root folder.

proguard tool obfuscates code, i.e. makes more compact , less readable others applying various optimization (e.g. renaming classes). in cases might have negative impact on functionality, e.g. if consider dynamic reflection calls.

cheers!


Comments

Popular posts from this blog

Perl - how to grep a block of text from a file -

delphi - How to remove all the grips on a coolbar if I have several coolbands? -

javascript - Animating array of divs; only the final element is modified -