app:transformClassesWithJarMergingForDebug FAILED

后端 未结 2 1187
余生分开走
余生分开走 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.

提交回复
热议问题