错误 1 “Org.Apache.Log4j.AsyncAppender”不实现继承的抽象成员“Org.Apache.Log4j.AppenderSkeleton.Append(Org.Apache.Log4j.Spi.LoggingEvent)” D:\wangcc\PETCTCODE\05.Sourse Code\SRC\Mobile\NMS.PETCT.Mobile.Solution\AndroidLog4j4.2\obj\Release\generated\src\Org.Apache.Log4j.AsyncAppender.cs 8 23 AndroidLog4j4.2
查看基类的定义方式为:
-
protected abstract void Append (global::Org.Apache.Log4j.Spi.LoggingEvent p0);
再看看发生错误的地方定义为
-
public virtual void Append (global::Org.Apache.Log4j.Spi.LoggingEvent p0)
所以要做相应的修改
-
protected override void Append (global::Org.Apache.Log4j.Spi.LoggingEvent p0)
编译成功通过。所以mono for android的binding jar还是比较麻烦的。
阅读(3844) | 评论(0) | 转发(0) |