保持整个包和在ProGuard中保持个别类之间的方法数量不同

时间:2014-07-17 02:00:45

标签: android proguard

我正在使用ProGuard缩小我在应用中使用的第三方库。当我配置ProGuard以保留整个包-keep class com.nexstreaming.nexplayerengine.** { *; }时,我的APK中有40496个方法,应用程序运行正常。但是,当我从这些方法(所有这些,例如-keep class com.nexstreaming.nexplayerengine.GLRender { *; }等)中保留单个类时,我只得到40460,每当我导航到使用lib的部分时应用程序崩溃。我真的需要一些解释。 (顺便说一句,抱歉英文不好)

0 个答案:

没有答案