首页 文章

错误'Didn' t在路径上找到类:DexPathList'

提问于
浏览
3

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

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

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

在路径上找不到类“de.hdodenhof.circleimageview.CircleImageView”:DexPathList [[zip file“/data/app/com.devyanlab.qomento-1.apk"],nativeLibraryDirectories=[/data/app-lib/ com.devyanlab.qomento-1,/ system / lib]]

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

任何艰难的?

1 回答

  • 1

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

    在Android Studio中:

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

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

    希望能帮助到你 :)

相关问题