Programming Tips - Error:Execution failed for task ':myApp:transformClassesWithJarMergingForDebug'.

Date: 2016sep11 OS: Android Q. Error:Execution failed for task ':myApp:transformClassesWithJarMergingForDebug'. > duplicate entry: com/google/android/gms/common/internal/zzv$zza$zza.class How can I avoid this error that occurs when I try to run my app in Android Studio? A. Make sure your google libraries are all at the same version:
dependencies { compile '' compile '' // Oh noes, different version }
dependencies { compile '' compile '' // This works }