Error :- Execution failed for task ':app:dexDebug' in android studio

后端 未结 4 1796
灰色年华
灰色年华 2020-12-17 18:24

I newly Android project started a new default project. Everytime I try to start the app this error occurs:

build.gradle(Module:app)

apply plugin: \'c         


        
4条回答
  •  长情又很酷
    2020-12-17 18:41

    This problem is not because of JDK 1.8 or 1.7, Its due to dependencies. Please check your Gradle Dependencies.

    I have faced similar issue, in my case the problem was occurred due to Facebook dependency

    dependencies { ... ... ... ... ... //Commented the following one compile 'com.facebook.android:facebook-android-sdk:4.0.0' } after commenting the above line everything was normal

提交回复
热议问题