Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想从建筑中删除一些课程。我在 proguard 中提到跳过收缩从 View 类扩展的所有类,但现在我想收缩一些从 View 类扩展的类。我的问题是:如何缩小从 View 类扩展的一些类,同时不删除条件以缩小所有 View 扩展类?
这应该有效:
-keep class !mypackage.ShrinkMe1, !mypackage.ShrinkMe2 extends android.view.View