.ClassNotFoundException: com.telerik.widget.calendar.R$attr

4 posts, 0 answers
  1. Matti
    Matti avatar
    2 posts
    Member since:
    Oct 2014

    Posted 04 Nov 2014 Link to this post

    Hi,

    Full Exception: http://pastebin.com/3WFkPBUd


    Description:
    Im following this tutorial: http://docs.telerik.com/devtools/android/controls/calendar/calendar-getting-started

    im just trying to reference the component in xml:
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:orientation="vertical"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        >

        <com.telerik.widget.calendar.RadCalendarView
            android:id="@+id/calendarView"
            android:layout_width="match_parent"
            android:layout_height="match_parent"/>


    </LinearLayout>



    Quite simple xml code.     Im guessing that it has something to do with the R file.

    im compileing the Input + Commons libraries with gradle,

     dependencies {
            compile 'com.android.support:appcompat-v7:+'
            compile 'com.android.support:support-v13:+'
            compile(name:'Input-2014.3.1023-trialRelease', ext:'aar')
            compile(name:'Common-2014.3.1023-trialRelease', ext:'aar')


        }

    allprojects {
        repositories {
            jcenter()
            flatDir
                    {
                        dirs 'libs'
                    }
        }



    }

  2. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 06 Nov 2014 Link to this post

    Hi Matti,

    Thanks for writing.

    Please take a look at the support thread you have started regarding the same case and 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.

     
  3. DevCraft banner
  4. Matti
    Matti avatar
    2 posts
    Member since:
    Oct 2014

    Posted 06 Nov 2014 in reply to Deyan Link to this post

    Thanks for answering. Your response was something about my android manifest missing activities and package name etc. but i hadn't even gotten there, the confusion lies in that i didn't know that your library wasn't compatible with the android studio's visual of the android app, i thouth the calendar would appear there, but it just threw exceptions. but obviously when i ran the app it was working just fine, so i should've just tried to run my app :)

    thanks.
  5. Deyan
    Admin
    Deyan avatar
    2041 posts

    Posted 07 Nov 2014 Link to this post

    Hi Matti,

    Thanks for writing back and for clarifying.

    I would like to inform you that we are working to support this behavior and it will be available very soon. This should not prevent you from using the control anyway.

    Feel free to get back to us in case of further questions.

    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