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

c++ - Function signature as a function template parameter -

algorithm - What are some ways to combine a number of (potentially incompatible) sorted sub-sets of a total set into a (partial) ordering of the total set? -

How to call a javascript function after the page loads with a chrome extension? -