简体   繁体   中英

Error 'Didn't find class on path: DexPathList'

after importing a bunch (2) of libraries with Gradle, I get the following errors in the Logcat:

https://gist.github.com/devyanlab/1b18fbe67309f3a07d5d

I think the main error that caused the emulator to crash is:

Didn't find class "de.hdodenhof.circleimageview.CircleImageView" on path: DexPathList[[zip file "/data/app/com.devyanlab.qomento-1.apk"],nativeLibraryDirectories=[/data/app-lib/com.devyanlab.qomento-1, /system/lib]]

I've been searching all week and tried all the possible solutions, but none of them worked.

Any toughts?

Did you try to add de.hdodenhof.circleimageview.CircleImageView to your project as a dependency?

In Android Studio:

dependencies {
    ...
    compile 'de.hdodenhof:circleimageview:1.3.0'
}

In Eclipse: Download the CircleImageView project from GitHub and add it to your project as a library.

Hope it helps :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM