app:transformClassesWithJarMergingForDebug FAILED

后端 未结 2 1183
余生分开走
余生分开走 2021-01-16 21:05

when I try to run the app I am getting this error

before

Error:Execution failed for task \':app:transformClassesWithJarMergingForDebug\'         


        
相关标签:
2条回答
  • 2021-01-16 21:43

    please check if some of your dependencies have multidex as dependency and exclude it. For example for Facebook SDK: you have this

     compile 'com.facebook.android:facebook-android-sdk:4.7.0'
    

    change to this

    compile('com.facebook.android:facebook-android-sdk:4.7.0') {
        exclude group: 'com.android.support', module: 'multidex'
    }
    

    and check for other also.

    0 讨论(0)
  • 2021-01-16 21:55

    Solved the issue by updating the com.google.android.gms:play-services version from 8.3.0 to 8.4.0

    0 讨论(0)
提交回复
热议问题