生成签名APK时出现编译错误

时间:2020-03-28 18:25:24

标签: java android gradle apk

我已经在我的App(包括FFmpeg)中成功实现了Exoplayer。

现在由于某种奇怪的原因,我收到此错误:

Type com.google.android.exoplayer2.BasePlayer$ListenerHolder is defined multiple times: /home/moscpu0/Documenti/Progetti/Personali/KarenPlayer/ExoPlayer/library/core/build/.transforms/8afb671ed79d08842511197cc61fbb33/classes/classes.dex, /home/moscpu0/Documenti/Progetti/Personali/KarenPlayer/KarenPlayer-Android/app/build/intermediates/external_libs_dex/release/out/classes.dex

如果我将其编译为调试版本(app-debug.apk),则不会出现错误。

我该如何解决?

0 个答案:

没有答案