Forum Xamarin.Forms

Unexpected Character $ - Java Binding error

ss27ss27 INMember


I am trying java binding to a Xamarin forms project and the jar contains class name having $ and also variable names with $. I am getting "Unexpected Character $" error. I am trying to solve it by editing the metadata.xml file. It seems that I am doing it wrong, please check the following entries,

For the class names containing $. I am using,

    <attr path="/api/package[@name='']/class[@name='CarDetails$']" 

for the variables containing $,

<attr path="/api/package[@name='']/class[@name='CarDetails$']/field[@name='machineParts$']" 

What is the correct way? I got this from

Thanks in advance,


Sign In or Register to comment.