hxb
2022-03-27 cc6023291bc94a229b53d7c2d83bf2b39bbfa9a0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
#*******************************************************************#
#**********         以下是demo不能混淆的内容            *********#
#*******************************************************************#
 
-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 class * implements android.os.Parcelable
 
-dontwarn com.google.zxing.**
-keep class com.google.zxing.** { *;}
 
-keep public class com.alibaba.android.arouter.routes.**{*;}
-keep public class com.alibaba.android.arouter.facade.**{*;}
-keep class * implements com.alibaba.android.arouter.facade.template.ISyringe{*;}
# If you use the byType method to obtain Service, add the following rules to protect the interface:
-keep interface * implements com.alibaba.android.arouter.facade.template.IProvider
# If single-type injection is used, that is, no interface is defined to implement IProvider, the following rules need to be added to protect the implementation
# -keep class * implements com.alibaba.android.arouter.facade.template.IProvider
 
#*******************************************************************#
#**********         以上是demo不能混淆的内容            *********#
#*******************************************************************#
 
#*******************************************************************#
#**********         以下是SDK不能混淆的内容            *********#
#*******************************************************************#
 
#========SDK对外接口=======#
-keep class com.ezviz.opensdk.** { *;}
 
#========以下是hik二方库=======#
-dontwarn com.ezviz.**
-keep class com.ezviz.** { *;}
 
-dontwarn com.ez.**
-keep class com.ez.** { *;}
 
-dontwarn com.hc.CASClient.**
-keep class com.hc.CASClient.** { *;}
 
-dontwarn com.videogo.**
-keep class com.videogo.** { *;}
 
-dontwarn com.hik.TTSClient.**
-keep class com.hik.TTSClient.** { *;}
 
-dontwarn com.hik.stunclient.**
-keep class com.hik.stunclient.** { *;}
 
-dontwarn com.hik.streamclient.**
-keep class com.hik.streamclient.** { *;}
 
-dontwarn com.hikvision.sadp.**
-keep class com.hikvision.sadp.** { *;}
 
-dontwarn com.hikvision.netsdk.**
-keep class com.hikvision.netsdk.** { *;}
 
-dontwarn com.neutral.netsdk.**
-keep class com.neutral.netsdk.** { *;}
 
-dontwarn com.hikvision.audio.**
-keep class com.hikvision.audio.** { *;}
 
-dontwarn com.mediaplayer.audio.**
-keep class com.mediaplayer.audio.** { *;}
 
-dontwarn com.hikvision.wifi.**
-keep class com.hikvision.wifi.** { *;}
 
-dontwarn com.hikvision.keyprotect.**
-keep class com.hikvision.keyprotect.** { *;}
 
-dontwarn com.hikvision.audio.**
-keep class com.hikvision.audio.** { *;}
 
-dontwarn org.MediaPlayer.PlayM4.**
-keep class org.MediaPlayer.PlayM4.** { *;}
#========以上是hik二方库=======#
 
#========以下是第三方开源库=======#
# JNA
-dontwarn com.sun.jna.**
-keep class com.sun.jna.** { *;}
 
# Gson
-keepattributes *Annotation*
-keep class sun.misc.Unsafe { *; }
-keep class com.idea.fifaalarmclock.entity.***
-keep class com.google.gson.stream.** { *; }
 
# OkHttp
# JSR 305 annotations are for embedding nullability information.
-dontwarn javax.annotation.**
# A resource is loaded with a relative path so the package of this class must be preserved.
-keepnames class okhttp3.internal.publicsuffix.PublicSuffixDatabase
# Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
-dontwarn org.codehaus.mojo.animal_sniffer.*
# OkHttp platform used only on JVM and when Conscrypt dependency is available.
-dontwarn okhttp3.internal.platform.ConscryptPlatform
# 必须额外加的,否则编译无法通过
-dontwarn okio.**
#========以上是第三方开源库=======#