xmlreader android,Xamarin Android Java绑定:缺少类(XMLReader)

当我在Xamarin.

Android项目上并使用Java绑定库时,我几乎总是会遇到一些警告.我收到以下警告:

7>BINDINGSGENERATOR : warning BG8800: Unknown parameter type

System.Xml.XmlReader in method CreateFromXml in managed type Android.Content.Res.ColorStateList.

7>BINDINGSGENERATOR : warning BG8800: Unknown parameter type

System.Xml.XmlReader in method CreateFromXml in managed type Android.Content.Res.ColorStateList.

7>BINDINGSGENERATOR : warning BG8800: Unknown parameter type

System.Xml.XmlReader in method ParseBundleExtras in managed type Android.Content.Res.Resources.

7>BINDINGSGENERATOR : warning BG8800: Unknown parameter type

System.Xml.XmlReader in method CreateFromXml in managed type Android.Graphics.Drawables.Drawable.

7>BINDINGSGENERATOR : warning BG8800: Unknown parameter type

System.Xml.XmlReader in method CreateFromXml in managed type Android.Graphics.Drawables.Drawable.

7>BINDINGSGENERATOR : warning BG8800: Unknown parameter type

System.Xml.XmlReader in method CreateFromXmlInner in managed type Android.Graphics.Drawables.Drawable.

7>BINDINGSGENERATOR : warning BG8800: Unknown parameter type

System.Xml.XmlReader in method CreateFromXmlInner in managed type Android.Graphics.Drawables.Drawable.

7>BINDINGSGENERATOR : warning BG8800: Unknown parameter type

System.Xml.XmlReader in method Inflate in managed type Android.Graphics.Drawables.Drawable.

7>BINDINGSGENERATOR : warning BG8800: Unknown parameter type

System.Xml.XmlReader in method Inflate in managed type Android.Graphics.Drawables.Drawable.

7>BINDINGSGENERATOR : warning BG8800: Unknown parameter type

System.Xml.XmlReader in method ParseIntent in managed type Android.Content.Intent.

7>BINDINGSGENERATOR : warning BG8800: Unknown parameter type System.Xml.XmlReader in method ReadFromXml in managed type Android.Content.IntentFilter.

我的第一个想法是它缺少System.XML.XMLReader NuGet依赖项,但没有任何意义.我添加了依赖项,但没有用.

后来,查看代码(例如android.content.Intent),我意识到在解析所需的类时,它会出错.它不是System.XML .Net框架,而是来自Android Framework的XMLReader类.

任何关于将绑定过程指向正确方向的想法,明确地说明要选择什么类?一些metadata.xml规则?谢谢

编辑:我正在尝试这个:

name="type">android.content.res.XmlResourceParser

可以看到here,但解析器找不到任何东西,即使使用不太细粒度的查询:

Metadata.xml(15, 4) warning BG8A04: matched no nodes. Seems that I can't make that metadata changes in Android framework directly?

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值