示例消息
error XA4261: Type 'Example.MyActivity' has Java constructor signature '(Ljava/lang/String;)V', but its base type does not expose a compatible Java constructor. Add a compatible base constructor or remove the derived constructor.
Issue
生成的Java构造函数必须在其基类型上调用Java构造函数。 没有可用的兼容基类构造函数或无参数的回退方式。
解决方案
在基类型上公开兼容的注册构造函数、添加无参数基构造函数或删除派生构造函数。