加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
proguard-project.txt 7.22 KB
一键复制 编辑 原始数据 按行查看 历史
枫丹白露2001 提交于 2020-07-29 10:48 . first add
# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
-optimizationpasses 5
-dontusemixedcaseclassnames
-dontskipnonpubliclibraryclasses
-dontpreverify
-verbose
-optimizations !code/simplification/arithmetic,!field/*,!class/merging/*
-keep public class * extends android.app.Activity
-keep public class * extends android.app.Application
-keep public class * extends android.app.Service
-keep public class * extends android.content.BroadcastReceiver
-keep public class * extends android.content.ContentProvider
-keep public class * extends android.app.backup.BackupAgentHelper
-keep public class * extends android.preference.Preference
-keep public class com.android.vending.licensing.ILicensingService
-keepclasseswithmembers class * {
native <methods>;
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet);
}
-keepclasseswithmembers class * {
public <init>(android.content.Context, android.util.AttributeSet, int);
}
-keepclassmembers enum * {
public static **[] values();
public static ** valueOf(java.lang.String);
}
-keep class * implements android.os.Parcelable {
public static final android.os.Parcelable$Creator *;
}
-ignorewarnings
-libraryjars libs/android-support-v4.jar
-dontwarn android.support.v4.**
-keep class android.support.v4.** { *; }
-keep interface android.support.v4.app.** { *; }
-keep public class * extends android.support.v4.**
-keep public class * extends android.app.Fragment
#-libraryjars libs/asmacksrc201410253.jar
#-libraryjars libs/lcrypto-jdk16-146-20110415.jar
#-libraryjars libs/xUtilsJar20140223.jar
-keepattributes *Annotation*
-keep class * extends java.lang.annotation.Annotation { *; }
-keep class com.stb.isharemessage.service.OfflineMessage { *; }
-keep class com.beem.push.utils.Constants { *; }
-keep class com.stb.isharemessage.BeemApplication { *; }
#-keep class com.stb.isharemessage.service.XmppConnectionAdapter { *; }
#-keep class com.stb.isharemessage.service.XmppConnectionAdapter$* { *; }
#-keep class com.stb.isharemessage.service.XmppConnectionAdapter$*$* { *; }
-keep class com.stb.isharemessage.service.** { *; }
-keep class com.stb.isharemessage.service.Contact { *; }
-keep class com.stb.isharemessage.service.XmppConnectionAdapter { *; }
-keep class com.stb.core.test.msg.FlippingImageView { *; }
-keep class com.stb.core.test.msg.FlippingLoadingDialog { *; }
-keep class com.stb.core.test.msg.HandyTextView { *; }
-keep class com.stb.core.test.msg.RotateAnimation { *; }
-keep class com.beem.push.utils.ProgressWebView { *; }
-keep class com.stb.core.test.msg.BaseDialog { *; }
-keep class com.beem.push.utils.** { *; }
-keep class com.stb.core.test.msg.** { *; }
-keep class com.stb.isharemessage.IConnectionStatusCallback { *; }
-keep class com.dodola.model.GreetInfo { *; }
-keep class com.dodola.model.GreetInfoAdapter { *; }
-keep class com.dodola.model.DuitangInfo { *; }
-keep class com.dodola.model.DuitangInfoAdapter { *; }
-keep class org.jivesoftware.smack.filter.** { *; }
-keep class org.jivesoftware.smack.packet.** { *; }
-keep class org.jivesoftware.smack.packet.IQ$* { *; }
-keep class org.jivesoftware.smack.provider.IQProvider {
<methods>;
}
#-keepattributes Exceptions,InnerClasses,Signature,Deprecated,SourceFile,LineNumberTable,*Annotation*,EnclosingMethod
-keepattributes Exceptions,InnerClasses
-keep interface org.jivesoftware.smack.provider.** { *; }
-keep class org.jivesoftware.smack.util.** { *; }
-keep class org.jivesoftware.smack.util.collections.** { *; }
-keep class org.jivesoftware.smackx.packet.** { *; }
-keep class com.stb.core.connect.PacketListener { *; }
-keep class com.stb.isharemessage.utils.FileUtils { *; }
#-keep class com.example.android.bitmapfun.util.** { *; }
-keep class com.example.android.bitmapfun.util.AsyncTask { *; }
-keep class com.example.android.bitmapfun.util.AsyncTask$* { *; }
-keep class com.example.android.bitmapfun.util.Base64 { *; }
-keep class com.example.android.bitmapfun.util.Base64Encoder { *; }
-keep class com.example.android.bitmapfun.util.Encoder { *; }
-keep class com.example.android.bitmapfun.util.ObjectCache { *; }
-keep class com.stb.isharemessage.service.aidl.IXmppFacade { *; }
-keep class com.stb.isharemessage.service.aidl.IXmppFacade$* { *; }
-keep class com.stb.isharemessage.service.aidl.IXmppFacade$*$* { *; }
-keep class com.stb.isharemessage.service.aidl.IXmppConnection { *; }
-keep class com.stb.isharemessage.service.aidl.IXmppConnection$* { *; }
-keep class com.stb.isharemessage.service.aidl.IXmppConnection$*$* { *; }
-keep class com.stb.isharemessage.service.aidl.IRoster { *; }
-keep class com.stb.isharemessage.service.aidl.IRoster$* { *; }
-keep class com.stb.isharemessage.service.aidl.IRoster$*$* { *; }
-keep class com.stb.isharemessage.service.aidl.IMessageListener { *; }
-keep class com.stb.isharemessage.service.aidl.IMessageListener$* { *; }
-keep class com.stb.isharemessage.service.aidl.IMessageListener$*$* { *; }
-keep class com.stb.isharemessage.service.aidl.IChatManagerListener { *; }
-keep class com.stb.isharemessage.service.aidl.IChatManagerListener$* { *; }
-keep class com.stb.isharemessage.service.aidl.IChatManagerListener$*$* { *; }
-keep class com.stb.isharemessage.service.aidl.IChatManager { *; }
-keep class com.stb.isharemessage.service.aidl.IChatManager$* { *; }
-keep class com.stb.isharemessage.service.aidl.IChatManager$*$* { *; }
-keep class com.stb.isharemessage.service.aidl.IChat { *; }
-keep class com.stb.isharemessage.service.aidl.IChat$* { *; }
-keep class com.stb.isharemessage.service.aidl.IChat$*$* { *; }
-keep class com.stb.isharemessage.service.aidl.IBeemRosterListener { *; }
-keep class com.stb.isharemessage.service.aidl.IBeemRosterListener$* { *; }
-keep class com.stb.isharemessage.service.aidl.IBeemRosterListener$*$* { *; }
-keep class com.stb.isharemessage.service.aidl.IBeemConnectionListener { *; }
-keep class com.stb.isharemessage.service.aidl.IBeemConnectionListener$* { *; }
-keep class com.stb.isharemessage.service.aidl.IBeemConnectionListener$*$* { *; }
-keep class com.stb.isharemessage.utils.BeemConnectivity { *; }
-keep class com.stb.core.connect.HSFConnection { *; }
-keep class com.stb.isharemessage.service.Contact { *; }
-keep class com.stb.isharemessage.BeemService { *; }
-keep class com.stb.core.chat.** { *; }
-keep class com.dodola.model.UnReadMsgNumber { *; }
-keep class org.afinal.simplecache.ACache2 { *; }
-keep class com.stb.core.uuid.DeviceUuidFactory2 { *; }
-keep class com.spice.im.ui.PagerScrollView { *; }
#这样再次崩溃的时候就有源文件和行号的信息了
-keepattributes SourceFile,LineNumberTable
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化