Running examples caused NoClassDefFoundError: com.telerik.widget.calendar.R$attr

4 posts, 0 answers
  1. Mohamed
    Mohamed avatar
    7 posts
    Member since:
    May 2012

    Posted 15 Feb 2015 Link to this post

    Hi

    I am using the tekerik examples but using it from intellij ide.

    I can compile however running the calendar activity causes this...

    Caused by: java.lang.NoClassDefFoundError: com.telerik.widget.calendar.R$attr
                at com.telerik.widget.calendar.RadCalendarView.<init>(RadCalendarView.java:115)
  2. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 16 Feb 2015 Link to this post

    Hello Mohamed,

    Make sure you have the needed references in your project. It seems you are missing a reference and thus are not able to run the examples.

    Regards,
    Deyan
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. DevCraft banner
  4. Mohamed
    Mohamed avatar
    7 posts
    Member since:
    May 2012

    Posted 09 Mar 2015 Link to this post

    Seems issue is the gen file in intellij has BuildConfig which cause issue.

    Removing it or removing the BuildConfig.class from the jar file fixed it.

    It's good if you have a complete iintellij ide package - easier to work out.
  5. Deyan
    Admin
    Deyan avatar
    2039 posts

    Posted 12 Mar 2015 Link to this post

    Hi Mohamed,

    Thanks for your feedback.

    We are going to look into our IntelliJ integration and will update our contents if necessary.

    Let us know if you need further assistance.

    Regards,
    Deyan
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
DevCraft banner