Skip to content

IMA extension should specify required proguard rules #3723

@tonnyavery

Description

@tonnyavery

Any proguard settings available for ExoPlayer?

Building with minifyEnabled: true
When starting the player, get exception:

 java.lang.AssertionError: java.lang.NoSuchFieldException: adBreakEnded
                                                     at com.google.obf.fm$a.<init>(SourceFile:17)
                                                     at com.google.obf.fm$17.a(SourceFile:7)
                                                     at com.google.obf.dq.a(SourceFile:99)
                                                     at com.google.obf.fl.write(SourceFile:10)
                                                     at com.google.obf.ff$a.a(SourceFile:41)
                                                     at com.google.obf.ff$a.write(SourceFile:84)
                                                     at com.google.obf.dq.a(SourceFile:144)
                                                     at com.google.obf.dq.a(SourceFile:132)
                                                     at com.google.obf.dq.a(SourceFile:129)
                                                     at com.google.obf.dq.a(SourceFile:127)
                                                     at com.google.obf.gs.e(SourceFile:29)
                                                     at com.google.obf.gu.a(SourceFile:19)
                                                     at com.google.obf.gt.d(SourceFile:276)
                                                     at com.google.obf.gt.b(SourceFile:273)
                                                     at com.google.obf.gt.a(SourceFile:90)
                                                     at com.google.obf.gt.a(SourceFile:65)
                                                     at com.google.obf.gt.a(SourceFile:53)
                                                     at com.google.obf.gu.b(SourceFile:39)
                                                     at com.google.obf.gu$1.shouldOverrideUrlLoading(SourceFile:4)
                                                     at android.webkit.WebViewClient.shouldOverrideUrlLoading(WebViewClient.java:73)
                                                     at com.android.webview.chromium.WebViewContentsClientAdapter.shouldOverrideUrlLoading(WebViewContentsClientAdapter.java:72)
                                                     at org.chromium.android_webview.AwContentsClient.shouldIgnoreNavigation(AwContentsClient.java:15)
                                                     at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading(AwContentsClientBridge.java:157)
                                                     at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
                                                     at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:7)
                                                     at android.os.Handler.dispatchMessage(Handler.java:102)
                                                     at android.os.Looper.loop(Looper.java:154)
                                                     at android.app.ActivityThread.main(ActivityThread.java:6119)
                                                     at java.lang.reflect.Method.invoke(Native Method)
                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
                                                  Caused by: java.lang.NoSuchFieldException: adBreakEnded
                                                     at java.lang.Class.getField(Class.java:1549)
                                                     at com.google.obf.fm$a.<init>(SourceFile:6)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions