Bug 18185 - FullPath to custom component from preferences xml is causing Error Inflating
Summary: FullPath to custom component from preferences xml is causing Error Inflating
Alias: None
Product: Android
Classification: Xamarin
Component: General ()
Version: 4.12.0
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Jonathan Pryor
Depends on:
Reported: 2014-03-05 09:13 UTC by T.Zenkner
Modified: 2014-10-22 04:45 UTC (History)
4 users (show)

Is this bug a regression?: ---
Last known good build:

Example solution (6.84 MB, application/octet-stream)
2014-03-05 12:43 UTC, T.Zenkner

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report for Bug 18185 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:

Description T.Zenkner 2014-03-05 09:13:48 UTC
I was trying to use custom SeekBarDialogPreference in my application settings.

But when I was referencing full project path to SeekBarDialogPreference, I was getting "Error Inflating" on this class and java ClassNotFoundException.

I decompiled the apk and i found that My.Project.SeekBarDialogPreference is translated to packages:


But in preferences xml is still original path:
Comment 1 T.Zenkner 2014-03-05 12:43:28 UTC
Created attachment 6230 [details]
Example solution

Here are 2 xmls
1. called working.xml (where is the full path in lower case)
2. called notworking.xml (where is the full path original)
Comment 2 Udham Singh 2014-03-06 05:10:45 UTC
I have checked this issue with attached sample application and able to reproduce this.

screencast : http://screencast.com/t/srkiUMSF7aK

Environment Info:

Windows 8.1
VS 2013
Xamarin.Android 4.12.00028
Comment 3 Udham Singh 2014-03-06 05:16:46 UTC
Please refer the application output log :