324

I have Android Studio Beta. I created a new project with compile my old modules but when I tried launching the app it did not launch with the message:

Error:Execution failed for task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug'.

com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex

But I don't know how to solve this error. I googled this for hours but with no success.

My project gradle:

    // Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
        google()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.0.0-beta6'
        classpath "io.realm:realm-gradle-plugin:3.7.1"
        classpath 'com.google.gms:google-services:3.1.0'
        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        jcenter()
        google()
    }
}

task clean(type: Delete) {
    delete rootProject.buildDir
}

My app gradle:

    apply plugin: 'com.android.application'

android {
    compileSdkVersion 26
    buildToolsVersion "26.0.1"
    defaultConfig {
        applicationId "parad0x.sk.onlyforyou"
        minSdkVersion 21
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
        multiDexEnabled true
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
        debug {
        }
    }
    compileOptions {
        targetCompatibility 1.7
        sourceCompatibility 1.7
    }
    packagingOptions {
        exclude 'META-INF/LICENSE'
        exclude 'META-INF/NOTICE'
    }
    lintOptions {
        checkReleaseBuilds false
    }
    productFlavors {
    }
}

dependencies {
    compile fileTree(include: ['*.jar'], dir: 'libs')
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    //noinspection GradleCompatible
    compile 'com.android.support:appcompat-v7:26.0.0-alpha1'
    compile project(path: ':loginregisterview')


}

And my module gradle:

    apply plugin: 'com.android.library'
apply plugin: 'realm-android'

android {
    compileSdkVersion 26
    buildToolsVersion "26.0.1"

    defaultConfig {
        minSdkVersion 19
        targetSdkVersion 26
        versionCode 1
        versionName "1.0"

        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
        exclude group: 'com.android.support', module: 'support-annotations'
    })
    compile 'com.android.support:appcompat-v7:26.0.2'
    compile 'com.android.support:support-v4:26.1.0'
    compile 'com.github.bumptech.glide:glide:4.0.0'
    testCompile 'junit:junit:4.12'
    compile project(path: ':parser')

}

My second module:

     apply plugin: 'com.android.library'
apply plugin: 'realm-android'

android {
    compileSdkVersion 26
    buildToolsVersion "26.0.1"
    defaultConfig {
        minSdkVersion 14
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
        testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

    }

    realm {
        syncEnabled = true
    }
    useLibrary 'org.apache.http.legacy'

    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
        }
    }
    productFlavors {
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])
    androidTestCompile 'junit:junit:4.12'
    //  compile 'com.android.support:appcompat-v7:23.1.0'

    //   compile 'com.fasterxml.jackson.core:jackson-core:2.9.0'
 //   compile 'com.fasterxml.jackson.core:jackson-annotations:2.9.0'
 //   compile 'com.fasterxml.jackson.core:jackson-databind:2.9.0'
    compile 'com.google.code.gson:gson:2.6.2'
}

____________finding_________

When I did not import the second module (parser) the app did not crash on dex but when the module was not imported app did not work. :D :D

2
  • 6
    If anyone is getting the same issue in Android Studio 3.0 Stable version, I would strongly recommend you to review the answer stackoverflow.com/questions/46949761/… and see if it can help you. Oct 27, 2017 at 13:04
  • 1
    I had the same problem and I followed every method which is mentioned on this page but didn't help me out so I go to the gradle and hold cursor on each library to check their new version is available or not. those who have new version so I updated, sync gradle and run. it worked. Nov 13, 2017 at 12:11

63 Answers 63

358

I tried all the above and none of them helps. finally, I find this work for me:

app/build.gradle:

android {
    defaultConfig {
       multiDexEnabled true
    }
}
6
  • 11
    Thanks. I think the problem was that most answers are not accounting for including JAR files from other sources that you cannot rebuild. multiDex seems to allow the otherwise incompatible code to be combined. Oct 22, 2017 at 20:59
  • 2
    This solution worked for me, but in addition, I had to explicitly enable multidex for API <= 21 developer.android.com/studio/build/multidex.html
    – elghazal-a
    Dec 19, 2017 at 0:05
  • 2
    DEspite being more relevant than the accepted answer I still get "Unable to merge dex" message
    – John
    May 10, 2018 at 21:19
  • 16
    Didn't work for me. With this change I got different error: Execution failed for task ':app:transformClassesWithMultidexlistForDebug
    – Atul
    Aug 17, 2018 at 13:46
  • 1
    Yes for 5 hours i was dwelling with totally different answers. But somehow I realized it was Multidex issue and landed here. I was true. Thanks man
    – sud007
    Oct 2, 2018 at 14:13
300

I had the same problem when I update from com.google.android.gms:play-services:11.2.2 to com.google.android.gms:play-services:11.4.0. This solved it for me:

  1. clean
  2. rebuild
6
  • You only delay the real problem with that solution. probably ver 11.4.0 contains less methods. See my answer below. you will got this error in the next dependence you'll add I guess
    – itzhar
    Nov 6, 2017 at 23:08
  • 3
    This solves my issue, where multiDexEnabled true alone did not Nov 7, 2017 at 22:15
  • 30
    same isse with com.google.android.gms:play-services-location:11.6.0 ... this is not a valid solution
    – issamux
    Nov 19, 2017 at 22:24
  • 3
    This solution worked for me when I had a compatibility problem using google analytics libraries. In AS view the android project navigator pane as "Project", you should see "External Libraries", if you expand the external libraries, you'll see all the jars and modules used to compile the project. It should help you identify incompatible module combinations.
    – angryITguy
    Dec 22, 2017 at 3:05
  • 3
    If above code is not work in case of "compileSdkVersion 26", try this.. go to - build.gradle(Module:app) - add " multiDexEnabled true " in defaultConfig category and last step Go to File | Settings | Build, Execution, Deployment | Instant Run and try to Enable/Disable Mar 12, 2018 at 7:26
61

Pay attention to Warnings!

Sometimes you only need to eliminate warnings and the error will be disappeared automatically. See below special case:


I had these two dependencies in my module-level build.gradle file:

implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:recyclerview-v7:27.0.2'

and Studio had warned (in addition to dex merging problem):

All com.android.support libraries must use the exact same version specification (mixing versions can lead to runtime crashes). Found versions 27.0.2, 21.0.3. Examples include com.android.support:animated-vector-drawable:27.0.2 and com.android.support:support-v4:21.0.3

So I explicitly determined the version of com.android.support:support-v4 (see here for details) and both problems (the warning and the one related to dex merging) solved:

implementation 'com.android.support:support-v4:27.0.2'  // Added this line (according to above warning message)
implementation 'com.android.support:appcompat-v7:27.0.2'
implementation 'com.android.support:recyclerview-v7:27.0.2'

See below comments for other similar situations.

4
  • 1
    Thank you, this fixed the issue for me. It was originally caused by adding eu.inloop:androidviewmodel:1.3.4
    – lsrom
    Jan 25, 2018 at 21:44
  • 2
    Exactly, I just wish the error could have been more precise Mar 4, 2018 at 21:57
  • 1
    Thanks a lot. I had the same issue. I was using v26, updated to sdk 27 and solved the problem.
    – Johnny
    Mar 9, 2018 at 23:44
  • 2
    This should be the correct answer. My builds stopped working after adding one library (airbnb/epoxy) which had a dependency to support:design:26.1.0, and I didn't have that dependency yet. My others support libraries version was 27.1.0. After adding support:design dependency with 27.1.0 version, my issue was resolved.
    – alashow
    Mar 18, 2018 at 4:43
37

In my case, Unfortunately, neither Michel's nor Suragch's solutions worked for me.

So I solved this issue by doing the following:

In gradle:3.0 the compile configuration is now deprecated and should be replaced by implementation or api. For more information you can read here You can read the official docs at Gradle Build Tool

The compile configuration still exists but should not be used as it will not offer the guarantees that the api and implementation configurations provide.

it's better to use implementation or api rather compile

just replace compile with implementation, debugCompile with debugImplementation, testCompile with testImplementation and androidtestcompile with androidTestImplementation

For example: Instead of this

compile 'com.android.support:appcompat-v7:26.0.2'
compile 'com.android.support:support-v4:26.1.0'
compile 'com.github.bumptech.glide:glide:4.0.0'

use like this

implementation 'com.android.support:appcompat-v7:26.0.2'
implementation 'com.android.support:support-v4:26.1.0'
implementation 'com.github.bumptech.glide:glide:4.0.0'

After that

  • Delete the .gradle folder inside your project ( Note that, in order to see .gradle, you need to switch to the "Project" view in the navigator on the top left )
  • Delete all the build folders and the gradle cache.
  • From the Build menu, press the Clean Project button.
  • After task completed, press the Rebuild Project button from the Build menu.

Hope it will helps !

9
  • 2
    Thanks, all I had to do was change compile to implementation and it built successfully, didn't have to complete the other steps. The build started failing after I updated the Facebook SDK
    – Shayno
    Nov 19, 2017 at 13:59
  • 2
    Worked for me - insights into why?
    – Alex
    Dec 5, 2017 at 17:06
  • 1
    The folder to delete should be .gradle and not ./gradle
    – Gary Bak
    Jan 19, 2018 at 13:27
  • 1
    The only answer that actually worked for me. Thanks! Mar 13, 2018 at 9:01
  • 1
    Thanks, It is the coolest answer. It should be on top of the search. Worked for me.
    – Danger
    Nov 16, 2018 at 10:30
32
  1. Delete the .gradle directory.

  2. Run your app again.

Notes

  • The .gradle directory is in your project's root folder. (You may have to show hidden files first.)
  • I have to do this every time I update a dependency module using Android 3.0. (More recent releases of Android Studio 3 seem to have resolved the problem.)
2
  • 4
    this helped me when I also did a Invalidate Cache and restart Oct 5, 2017 at 12:27
  • I was in disbelief when this fixed my issue.. i had tried updating everything, removing all compile keywords, updating a few of the suspect ilb versions.. when i finally did this, it worked..
    – hanzolo
    Mar 1, 2018 at 22:43
26

Deleting .gradle as suggested by Suragch wasn't enough for me. Additionally, I had to perform a Build > Clean Project.

Note that, in order to see .gradle, you need to switch to the "Project" view in the navigator on the top left:

Switch to project view

23

I tried every other solution, but no one worked for me. At the end, i solved it by using same dependency version by editing build.gradle. I think this problem occurres when adding a library into gradle which uses different dependency version of support or google libraries.

Add following code to your build gradle file. Then clean and rebuild project.

ps: that was old solution for me so you should use updated version of following libraries.

configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
    def requested = details.requested
    if (requested.group == 'com.android.support') {
        if (!requested.name.startsWith("multidex")) {
            details.useVersion '26.1.0'
        }
    } else if (requested.group == "com.google.android.gms") {
        details.useVersion '11.8.0'
        } else if (requested.group == "com.google.firebase") {
            details.useVersion '11.8.0'
          }
      }
}
6
  • 5
    tried all other solutions, in the end only this helped :/
    – Ante
    Mar 21, 2018 at 14:30
  • @Ali Gurelli Thank you so much i tried many solutions but only this work only. May 3, 2018 at 11:38
  • Thanx But For me I use Version details.useVersion '15.0.0'
    – Elsunhoty
    May 11, 2018 at 0:06
  • Thanks for solution. Same issue happened to me . google tap and pay was 10.0.0 and rest all libs are on latest version
    – R World
    Jun 8, 2018 at 16:29
  • Worked Smoothly Thanks
    – Sankalp
    Jul 6, 2018 at 13:21
17
+150

if(1. Try to clean and rebuild work ) then good

else if (2. Try to remove gradle work ) then good

else-> 3. Try to add in grade.properties

android.enableD8 = false

Edit 2021: This 3rd option is deprecated now, use the other options

else-> 4. Add multiDexEnabled true to your build.gradle

android {
    compileSdkVersion 26
    defaultConfig {
      ...
        minSdkVersion 15
        targetSdkVersion 26
        multiDexEnabled true
     ...
    }
}

and add the dependency

dependencies {
    compile 'com.android.support:multidex:1.0.1'}

It may the first one works for u and so on but it really depends on the nature of your problem for me for example

I got the error once I have added this library

implementation 'com.jjoe64:graphview:4.2.2'

and later I discovered that I have to check that and I have to add the same version of the support libraries. So I have to try another version

compile 'com.jjoe64:graphview:4.2.1'

and it fixes the problem. So pay attention for that.

2
  • 4
    The most useful way for this problem. One I want to mention here is that, you can use 'gradlew app:transformDexArchiveWithExternalLibsDexMergerForDebug --stacktrace' cmd for more details. I save me, found I have to enable multidex. Hope helpful.
    – panda
    Jul 1, 2018 at 9:04
  • @DINA, android.enableD8 = false is deprecated.
    – Daniel
    Jan 13, 2021 at 20:36
13

In my case issue was because of the room library:

compile 'android.arch.persistence.room:runtime:1.0.0-alpha1'

Changing it to:

compile 'android.arch.persistence.room:runtime:1.0.0'

worked.

2
  • Thanks so much, this helped me a lot!
    – Phil
    Jan 6, 2018 at 20:08
  • So glad to find this answer. Thanks!
    – callOfCode
    Jan 14, 2018 at 12:04
12

Just to add to the above solutions:

Make sure that you don't have duplicate dependencies pointing to different versions of them, in multiple places (or even in the same file).

1
  • I think this should be first check before adding multiDexEnabled true, and trying other answers. Thanks! Oct 2, 2018 at 12:40
11

Hi I have same issue tried almost everything. So, finally i resolved after 6 hour long struggle by debugging everything line by line.

classpath 'com.google.gms:google-services:3.0.0'

Google-services 3.0 Doesn't support firebase with Studio 3.0 with playServiceVersion: 11.6.0 or less.

implementation "com.google.firebase:firebase-messaging:$rootProject.ext.playServiceVersion"
implementation "com.google.firebase:firebase-core:$rootProject.ext.playServiceVersion"
implementation "com.firebase:firebase-jobdispatcher-with-gcm-dep:$rootProject.ext.jobdispatcherVersion"

Solution :

I have change google services to

classpath 'com.google.gms:google-services:3.1.1'

And it support firebase services.

Hopefully somebody save his/her time.

1
  • 1
    I have the same issue I was using playServiceVersion as 11.4.0 implementation "com.google.firebase:firebase-core:11.4.0" change it to implementation "com.google.firebase:firebase-core:11.6.2" fixed my issue . So please verify the version dependency for different lib Dec 15, 2017 at 3:47
9
  1. Enable

    defaultConfig { multiDexEnabled true }

  2. If step 1 doesn't work then

    Go to project structure and find out the external library which is using a different version. Double click on it and delete its jar file. Close the project and open again android studio will rebuild the project. The problem should be gone.

1
  • +1 - I had the support lib, rxjava and a 3rd party dependency (13k lines). My eyes nearly popped out when I saw the method count.
    – snodnipper
    Feb 13, 2018 at 17:26
6

One of the possibilities is: the presence of the same library but with different versions in the dependencies.

I had this problem with the following lines in gradle file:

  • compile fileTree(include: ['*.jar'], dir: 'libs')
  • compile 'com.google.code.gson:gson:2.8.2'

The gson library was in my libs directory but with a previous version. I deleted the gson-2.3.1.jar from the libs directory and everything is back to normal.

1
  • removing compile fileTree(include: ['*.jar'], dir: 'libs') fixed for me too.. thanks (y) May 12, 2018 at 16:57
5

If this error appeared for you after including kotlin support, and none of the other solutions work, try changing the kotlin dependency of app module's build.gradle to:

implementation ("org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version") {
    exclude group: 'org.jetbrains', module: 'annotations'
}

This works for me on Android Studio 3.0 Beta 6. See this answer for further explanation.

3
  • Yep, it seems that Kotlin introduction could break the build if the annotations are not excluded. Feb 23, 2018 at 18:12
  • Thanks. This was the fix for me. I struggle 3 days to identify my problem. Mar 9, 2018 at 7:49
  • Try upgrading to Kotlin plugin version 1.2.30 instead (just released). Now Instant Run can be enabled again too!
    – KTCO
    Mar 17, 2018 at 14:02
5

With Android Studio 3.0 stable build Below steps worked for me:

  1. Got to SdkManager-->Android Sdk --> Sdk Tools and Update Google play services to latest version to 46.
  2. Clean project and rebuild project.
5

[ UNABLE TO MERGE DEX SOLVED ] After hours of stack overflowing I resolved the " UNABLE TO MERGE DEX ERROR "

  1. Update all the com.android.support lines in your gradle to v27.1.0

Cause - Android has updated it support libraries to v27.1.0, so you have to change all the android support lines in your gradle file to 27.1.0 from 26.1.0

  1. Make sure that the repositories section includes a maven section with the "https://maven.google.com" endpoint. For example:

    allprojects { repositories { jcenter() maven { url "https://maven.google.com" } } }

Cause :- Android cannot update the support libraries in the SDK manager and now it uses maven.google.com to update , so you have to include this to use 27.1.0 support libraries

After Change Version: 1. Clean Project 2. Rebuild Project

4

add commands below:

android {
...

    dexOptions {

        jumboMode true
        javaMaxHeapSize "4g"

    }
}
4

Installing Google play services (latest version) + including

android {
    defaultConfig {
        multiDexEnabled true
        }
}

in build.gradle solved the issue for me, make sure to clean and rebuild project!

3

In my case it was gson-2.8.1.jar which I have added to libs folder of the project. But the reference was already there by SDK. So it was not necesary to add gson-2.8.1.jar to libs folder.

When I took it out th gson-2.8.1.jar project compiles without this wiered error.

So try to revise libs folder and dependencies.

3

I agree with Chris-Jr. If you are using Firebase to embed your AdMob ads (or even if you are not) the play-services-analytics includes the play-services-ads even though you don't add that as a dependency. Google have obviously made a mistake in their 11.4.0 roll-out as the analytics is including version 10.0.1 of ads, not 11.4.0 (the mouse over hint in the gradle shows this).

I manually added compile 'com.google.android.gms:play-services-ads:11.4.0' at the top which worked, but only after I disabled Instant Run: http://stackoverflow.com/a/35169716/530047

So its either regress to 10.0.1 or add the ads and disable Instant Run. That's what I found if it helps any.

2
  • Did OP mention Play Services? Oct 25, 2017 at 13:12
  • The approved answer did. If this issue is surfacing without that scenario then I don't know!
    – Jon
    Oct 26, 2017 at 4:46
2

I encountered the same problem and found the real reason for my case. Previously, I also tried all the previous answers again, but it did not solve the problem. I have two module in my wear app project, and the build.gradle as follows:

wear module's build.gradle:

implementation project(':common')
implementation files('libs/farmer-motion-1.0.jar')

common module's build.gradle:

implementation files('libs/farmer-motion-1.0.jar')

Before upgrade to gradle 3.x, 'implementation' are all 'compile'.

I run gradlew with --stacktrace option to get the stack trace, you can just click this on gradle console window when this problem arises. And found that dependency to the jar package repeated:

Caused by: com.android.dex.DexException: Multiple dex files define Lcom/farmer/motion/common/data/pojo/SportSummary$2;

Class SportSummary in the farmer-motion-1.0.jar package, after read the official migration guide, i changed my build.gradle to follows:

wear module's build.gradle:

implementation project(':common')
// delete dependency implementation files('libs/farmer-motion-1.0.jar')

common module的build.gradle:

api files('libs/farmer-motion-1.0.jar') // change implementation to api

Now wear module will has the dependency of farmer-motion-1.0.jar export by common module. If there has no dependency on jar package during runtime, 'implementation' dependency of jar package can also be change to 'compileOnly'.

2

I also had the problem.

I was able to solve by changing compileSdkVersion and targetSdkVersion to latest version.

2

For our project, we accidentally added same jar two times with different name. Removing one of them solved the issue.

1
  • This solved my issue. I was building an internal android library project and under its libs folder, I had two jar files, one of which is just a backup of the other one but with a different filename.
    – hopia
    Mar 26, 2018 at 20:33
2

This may not be your problem, but I got this error when I accidentally included two identical (but differently named) libraries in the dependencies{} section of the project.

1

For me it was updating the firebase messaging in app\build.gradle:

compile 'com.google.firebase:firebase-messaging:10.0.1'

to

compile 'com.google.firebase:firebase-messaging:11.4.2'
1

One of possible root causes: duplicate transient dependencies that weren't properly handled by Android Studio import of multi-module projects. Check your list and remove them. For me, the fix was literally this:

--- a/project/module/build.gradle
+++ b/project/module/build.gradle
@@ -21,5 +21,4 @@ android {
 dependencies {
     implementation project(':upstream-dependency-project')
     implementation 'com.android.support:support-v4:18.0.0'
-    implementation files('libs/slf4j-android-1.6.1-RC1.jar')
 }
1

I find out the reason of this problem for my project. I was added one dependency twice in build.gradle. One time by adding dependency and one time again by adding jar dependency:

compile 'org.achartengine:achartengine:1.2.0'
...
implementation files('../achartengine-1.2.0.jar')

after remove the first line problem solved.

1

In case the top answers haven't worked for you, your issue may be that you have multiple dependencies that depend on the same library.

Here are some debugging tips. In this sample code, com.google.code.findbugs:jsr305:3.0.0 is the offending library.

Always clean and rebuild every time you modify to check your solution!

  1. Build with the --stacktrace flag on for more detail. It will complain about a class, Google that class to find the library. Here's how you can set up Android studio to always run gradle with the --stacktrace flag.

  2. Take a glance at the Gradle Console in Android Studio View > Tool Windows > Gradle Console after a build

  3. Check for repeated dependences by running ./gradlew -q app:dependencies. You can re-run this each time you modify the your build.gradle.

  4. In build.gradle,

    android {
            ...
            configurations.all {
                resolutionStrategy {
                    // Force a particular version of the library 
                    // across all dependencies that have that dependency
                    force 'com.google.code.findbugs:jsr305:3.0.0'
                }
            }
    }
    
  5. In build.gradle,

    dependencies {
        ...
        implementation('com.google.auth:google-auth-library-oauth2-http:0.6.0') {
            // Exclude the library for this particular import
            exclude group: 'com.google.code.findbugs'
        }
    }
    
  6. In build.gradle,

    android {
        ...
        configurations.all {
            resolutionStrategy {
                // Completely exclude the library. Works for transitive
                // dependencies.
                exclude group: 'com.google.code.findbugs'
            }
        }
    }
    
  7. If some of your dependencies are in jar files, open up the jar files and see if there are any conflicting class names. If they are, you will probably have to re-build the jars with new class names or look into shading.

Some more background reading:

1
android {
    defaultConfig {
        ...
        minSdkVersion 15 
        targetSdkVersion 26
        multiDexEnabled true
    }
    ...
}

dependencies {
  compile 'com.android.support:multidex:1.0.1'
}
2
  • 2
    Could you elaborate?
    – sg7
    Mar 18, 2018 at 12:13
  • I also had the same problem but I realized that solve my problem at that moment but in the future updates, things might actually change.
    – Eben Watts
    May 23, 2018 at 22:16
1

In my case a library makes this problem, library was successfully added to project but when i run my app it shows me this error. So if this happens to you too, you can go to github and check issues or raise new issue. If you do not find any solution regarding the library i suggest you to replace it.

Not the answer you're looking for? Browse other questions tagged or ask your own question.