android - samsung multiscreen Proguard conflict with exoplayer -


i want release app in proguard step face problem. generate warning when add lobmok ( or more specific when add samsung-multiscreen jar file) follows :

warning:com.google.android.exoplayer.mediacodecaudiotrackrenderer: can't find referenced class android.media.playbackparams warning:com.google.android.exoplayer.audio.audiotrack: can't find referenced class android.media.playbackparams warning:com.google.android.exoplayer.audio.audiotrack$audiotrackutil: can't find referenced class android.media.playbackparams warning:com.google.android.exoplayer.audio.audiotrack$audiotrackutilv23: can't find referenced class android.media.playbackparams warning:com.google.android.exoplayer.audio.audiotrack$audiotrackutilv23: can't find referenced method 'void setplaybackparams(android.media.playbackparams)' in library class android.media.audiotrack warning:com.google.android.exoplayer.audio.audiotrack$audiotrackutilv23: can't find referenced class android.media.playbackparams warning:com.google.android.exoplayer.chunk.videoformatselectorutil: can't find referenced method 'android.view.display$mode getmode()' in library class android.view.display warning:com.google.android.exoplayer.chunk.videoformatselectorutil: can't find referenced class android.view.display$mode

when add following line proguard-rules.pro of them disappeared when launch application crash.

-dontwarn lombok.** 

also try :

-keep class com.google.android.exoplayer.** { *; } 

i think raise due conflict between annotation used in exoplayer , multiscreen (lombok)

does knows how fix issue ?

finally fixed issue following proguard-rule:

-ignorewarnings -dontoptimize -dontobfuscate -dontskipnonpubliclibraryclasses  -ignorewarnings  -keep class com.samsung.** { *; } -dontwarn com.samsung.** -dontwarn com.samsung.multiscreen.buildconfig -dontwarn lombok.** 

Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

css - Make div keyboard-scrollable in jQuery Mobile? -

ruby on rails - Seeing duplicate requests handled with Unicorn -