2015-04-02 39 views
0

我是Android編程中的新手,我和我的程序員團隊必須爲我們學院編寫一個小應用程序。因此,我們需要的ExtendedCalendarView庫,我們已經引進在我們AndroidStudio項目,但我們總是得到相同的故障:如何使用Android庫ExtendedCalendarView

找不到以下類com.tyczj.extendedcalendarview.ExtendedCalendarView 嘗試修復構建路徑等上。

代碼在我們的test.xml:

<?xml version="1.0" encoding="utf-8"?> 
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="match_parent"   android:layout_height="match_parent"> 
    <com.tyczj.extendedcalendarview.ExtendedCalendarView 
     android:layout_width="match_parent" 
     android:layout_height="match_parent"> 
     </com.tyczj.extendedcalendarview.ExtendedCalendarView> 
</RelativeLayout> 

但是我們進口的相同的方法,其他圖書館和它的作品。當我們在.xml文件中打開'<'時,我們也從com.tyczj.extendedcalendarview.ExtendedCalendarView得到一個建議,但總是失敗。

同時時間緊迫,所以我們沒有那麼多時間了。

任何人都可以幫助我們嗎? 在此先感謝...

+0

你可以重建你的項目? – random 2015-04-02 10:25:00

回答

0

你有沒有在你的Android複製的供應商標籤清單如果沒有則在AndroidManifest的應用程序標籤複製:

<application> 
... 
    <provider 
       android:name="com.tyczj.extendedcalendarview.CalendarProvider" 
       android:authorities="com.tyczj.extendedcalendarview.calendarprovider" /> 

</application>