Skip to content

Commit

Permalink
修复播放视频时闪退
Browse files Browse the repository at this point in the history
java.lang.RuntimeException: Class cannot be created (missing no-arg constructor): com.kuaishou.akdanmaku.ecs.component.xxx
  • Loading branch information
aaa1115910 committed Dec 31, 2024
1 parent 1b47270 commit f7c9303
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/proguard-rules.pro
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@
public <init>(com.kuaishou.akdanmaku.ecs.DanmakuContext);
}
-keepclasseswithmembers class com.kuaishou.akdanmaku.ecs.component.*
-keep class com.kuaishou.akdanmaku.ecs.component.* {
<init>(...);
}

# okhttp
-dontwarn org.bouncycastle.jsse.BCSSLParameters
Expand Down

0 comments on commit f7c9303

Please sign in to comment.