This is a migrated thread and some comments may be shown as answers.

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

3 Answers 58 Views
Calendar
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Matti
Top achievements
Rank 1
Matti asked on 04 Nov 2014, 06:52 PM
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'
                }
    }



}

3 Answers, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 06 Nov 2014, 04:36 PM
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.

 
0
Matti
Top achievements
Rank 1
answered on 06 Nov 2014, 04:58 PM
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.
0
Deyan
Telerik team
answered on 07 Nov 2014, 09:27 AM
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.

 
Tags
Calendar
Asked by
Matti
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Matti
Top achievements
Rank 1
Share this question
or