I got "Error converting bytecode to dex
" in a Chromecast project with Remote Display API. I solved this by adding "multiDexEnabled true
", but this only generated another error:
Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.> com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry: com/google/android/gms/internal/zzlg.class
I have checked my Gradle
files, but I can not find any conflict. I read other similar threads and tried their code fixes, but no use here. How can I proceed with this?These are my gradle files: