2016-03-25 18 views
0

enter image description here使用GlidePalette:java.lang.NoClassDefFoundError:失敗分辨率:LCOM/squareup/okhttp/OkHttpClient

我使用滑翔庫圖像加載,我已經包括以下中的build.gradle依賴關係:

compile 'com.github.bumptech.glide:glide:3.7.0' 
compile 'com.github.florent37:glidepalette:1.0.6' 
compile 'com.github.bumptech.glide:okhttp-integration:[email protected]' 

我是否缺少一些像依賴關係的東西?這是什麼樣的問題,請幫我理解這個...... !!!先謝謝你。

回答

0

我不確定是什麼造成了這個幕後的錯誤,但他們的方式我解決了這個問題,通過刪除這個依賴項編譯'com.github.bumptech.glide:okhttp-integration:[email protected]應用程序級別build.gradle文件。我刪除它,因爲滑翔已經帶有OkHttp集成,所以它看起來像是一個重複的依賴關係,這可能是導致問題的原因。

+0

雖然它有助於消除錯誤,但它的功能不正常..任何幫助任何人 – PN10

相關問題