各位大佬,开发插件时,我这边自定义了一个Component,他的UI是一个FrameLayout的UI布局。但是在使用时,却报错:
exception function:GraphicActionAddElement, exception:You are trying to add a view to a plv-player, which is illegal as plv-player is not a container
开发的伪代码如下:
<自定义Component >
<button type="primary" style="width:180px; height:44px; position:absolute; bottom:0px; left:0px;"></button>
<button type="primary" style="width:180px; height:44px; position:absolute; bottom:0px; right:0px;"></button>
</自定义Component>
疑惑的是iOS设备并没有这个报错。而在Android上报错了,并且中间的这两个Button并没有显示。
不知道哪位大佬知道是怎么回事,怎么解决吗?
0 个回复