2016-01-13 27 views
0

我試圖讓Daniel Waldron's CircularBarPager與Android Studio的但不幸的是它不會工作。如何修復錯誤「找不到類‘com.github.OrangeGangsters.circularbarpager.library.CircularBar’

error:E/dalvikvm: Could not find class 'com.github.OrangeGangsters.circularbarpager.library.CircularBar', referenced from method com.github.OrangeGangsters.circularbarpager.library.CircularBarPager.initializeView 

This is image

+1

添加到您的build.gradle文件: '編譯「com.github.orangegangsters:庫:1.3.4 @ aar'' –

回答

2

Error: Could not find comes when you are trying to run your Java program using java command with the class is not able to find the class.

您需要按照CircularBarPager說明

只需添加到您的build.gradle文件

compile 'com.github.orangegangsters:library:[email protected]' 

dependencies { 
    compile 'com.github.orangegangsters:library:[email protected]' 
} 

然後Clean-Rebuild-Restart你的項目。希望它會工作。

+0

雖然很長一段時間已經過了,但還是很感激 –

相關問題