2015-04-02 51 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>