Skip to content

Commit f7c9303

Browse files
committed
修复播放视频时闪退
java.lang.RuntimeException: Class cannot be created (missing no-arg constructor): com.kuaishou.akdanmaku.ecs.component.xxx
1 parent 1b47270 commit f7c9303

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

app/proguard-rules.pro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@
3131
public <init>(com.kuaishou.akdanmaku.ecs.DanmakuContext);
3232
}
3333
-keepclasseswithmembers class com.kuaishou.akdanmaku.ecs.component.*
34+
-keep class com.kuaishou.akdanmaku.ecs.component.* {
35+
<init>(...);
36+
}
3437

3538
# okhttp
3639
-dontwarn org.bouncycastle.jsse.BCSSLParameters

0 commit comments

Comments
 (0)