ExtendedCalendarView icon indicating copy to clipboard operation
ExtendedCalendarView copied to clipboard

Error when loading xml

Open maneca opened this issue 10 years ago • 1 comments

Hi.

I was using your library in an app I was developing using Android Studio. Everything was fine.

I decided to change the development to Eclipse but now when I try to run an app just with the view of the calendar and nothing more this happens:

07-26 22:01:11.575: E/AndroidRuntime(521): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.pp/com.example.pp.MainActivity}: android.view.InflateException: Binary XML file line 11: Error inflating class com.tyczj.extendedcalendarview.ExtendedCalendarView

Your library is correctly added as you said in previous issues: . Right-click the project and go to Properties. . Then select Android and add the imported ExtendedCalendarView project as a library. . Click Apply.

Can you help me?

maneca avatar Jul 26 '14 22:07 maneca

Have you added the Provider in your Apps Manifest.xml file? You have to add the Provider and the "Authorities"

like that:

make sure it stands in the "application" brackets not after ;)

Tazuki avatar Feb 04 '15 19:02 Tazuki