错误'没有在路径上找到课程:DexPathList'

时间:2014-05-08 10:06:18

标签: java android android-studio

使用Gradle导入一堆(2)库后,我在Logcat中遇到以下错误:

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

我认为导致模拟器崩溃的主要错误是:

没有找到课程" de.hdodenhof.circleimageview.CircleImageView" on path:DexPathList [[zip file" /data/app/com.devyanlab.qomento-1.apk"],nativeLibraryDirectories = [/ data / app-lib / com.devyanlab.qomento-1,/系统/ lib中]]

我整个星期都在搜索并尝试了所有可能的解决方案,但都没有。

有什么难事吗?

1 个答案:

答案 0 :(得分:1)

您是否尝试将de.hdodenhof.circleimageview.CircleImageView作为依赖项添加到项目中?

在Android Studio中:

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

在Eclipse中: 下载CircleImageView project from GitHub并将其作为库添加到项目中。

希望有所帮助:)