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

Error inflating class com.telerik.widget.list.RadListView

1 Answer 118 Views
Sample Applications
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sandeep
Top achievements
Rank 1
Sandeep asked on 03 Feb 2016, 12:39 PM

Hello,

I am working with eclipse. When I am using com.telerik.widget.list.RadListView, I Got the following error

 

02-03 18:05:35.217: E/AndroidRuntime(29700): FATAL EXCEPTION: main
02-03 18:05:35.217: E/AndroidRuntime(29700): Process: com.test.teleriktest, PID: 29700
02-03 18:05:35.217: E/AndroidRuntime(29700): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.test.teleriktest/com.test.teleriktest.MainActivity}: android.view.InflateException: Binary XML file line #8: Binary XML file line #8: Error inflating class com.telerik.widget.list.RadListView
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2426)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2490)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.app.ActivityThread.-wrap11(ActivityThread.java)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1354)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.os.Handler.dispatchMessage(Handler.java:102)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.os.Looper.loop(Looper.java:148)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.app.ActivityThread.main(ActivityThread.java:5443)
02-03 18:05:35.217: E/AndroidRuntime(29700): at java.lang.reflect.Method.invoke(Native Method)
02-03 18:05:35.217: E/AndroidRuntime(29700): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:728)
02-03 18:05:35.217: E/AndroidRuntime(29700): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
02-03 18:05:35.217: E/AndroidRuntime(29700): Caused by: android.view.InflateException: Binary XML file line #8: Binary XML file line #8: Error inflating class com.telerik.widget.list.RadListView
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.view.LayoutInflater.inflate(LayoutInflater.java:539)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.view.LayoutInflater.inflate(LayoutInflater.java:423)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.view.LayoutInflater.inflate(LayoutInflater.java:374)
02-03 18:05:35.217: E/AndroidRuntime(29700): at com.android.internal.policy.PhoneWindow.setContentView(PhoneWindow.java:393)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.app.Activity.setContentView(Activity.java:2170)
02-03 18:05:35.217: E/AndroidRuntime(29700): at com.test.teleriktest.MainActivity.onCreate(MainActivity.java:18)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.app.Activity.performCreate(Activity.java:6245)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1130)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2379)
02-03 18:05:35.217: E/AndroidRuntime(29700): ... 9 more
02-03 18:05:35.217: E/AndroidRuntime(29700): Caused by: android.view.InflateException: Binary XML file line #8: Error inflating class com.telerik.widget.list.RadListView
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:776)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:704)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.view.LayoutInflater.rInflate(LayoutInflater.java:835)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
02-03 18:05:35.217: E/AndroidRuntime(29700): ... 17 more
02-03 18:05:35.217: E/AndroidRuntime(29700): Caused by: java.lang.ClassNotFoundException: Didn't find class "com.telerik.widget.list.RadListView" on path: DexPathList[[zip file "/data/app/com.test.teleriktest-2/base.apk"],nativeLibraryDirectories=[/data/app/com.test.teleriktest-2/lib/arm, /vendor/lib, /system/lib]]
02-03 18:05:35.217: E/AndroidRuntime(29700): at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)
02-03 18:05:35.217: E/AndroidRuntime(29700): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
02-03 18:05:35.217: E/AndroidRuntime(29700): at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.view.LayoutInflater.createView(LayoutInflater.java:583)
02-03 18:05:35.217: E/AndroidRuntime(29700): at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:764)
02-03 18:05:35.217: E/AndroidRuntime(29700): ... 21 more

 

 

I am Using android Targetversion as 23 and my project.properties file is as follows

# This file is automatically generated by Android Tools.
# Do not modify this file -- YOUR CHANGES WILL BE ERASED!
#
# This file must be checked in Version Control Systems.
#
# To customize properties used by the Ant build system edit
# "ant.properties", and override values to adapt the script to your
# project structure.
#
# To enable ProGuard to shrink and obfuscate your code, uncomment this (available properties: sdk.dir, user.home):
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt

# Project target.
target=android-23
android.library.reference.1=../../android-sdk-linux/extras/android/support/v7/appcompat
android.library.reference.2=../../Application Stuff/Telerik/UI for Android Q3 2015/Controls/Eclipse/Input
android.library.reference.3=../../Application Stuff/Telerik/UI for Android Q3 2015/Controls/Eclipse/Common
android.library.reference.5=../../Application Stuff/Telerik/UI for Android Q3 2015/Controls/Eclipse/List
android.library.reference.4=../../Application Stuff/Telerik/UI for Android Q3 2015/Controls/Eclipse/Data

 

 

 

1 Answer, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 08 Feb 2016, 09:57 AM
Hello,

Please refer to the post regarding the same issue that you opened in the Android forum.

Regards,
Todor
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Sample Applications
Asked by
Sandeep
Top achievements
Rank 1
Answers by
Todor
Telerik team
Share this question
or