1

我刚刚从http://svn.aswing.org/aswing/trunk/haXeAsWing/查看了 Haxe 版本

并复制我项目的 com 文件夹旁边的 org 文件夹,如果我在 FlashDevelop 中以 Flash 播放器为目标,它将无错误地编译,但如果我以 android 为目标,我会收到这些错误:

org/aswing/AWTextField.hx:58: lines 58-63 : Field set_htmlText should be declared with 'override' since it is inherited from superclass
org/aswing/AWTextField.hx:76: lines 76-83 : Field set_scrollH should be declared with 'override' since it is inherited from superclass
org/aswing/AWTextField.hx:85: lines 85-92 : Field set_scrollV should be declared with 'override' since it is inherited from superclass
org/aswing/AWTextField.hx:68: lines 68-73 : Field set_text should be declared with 'override' since it is inherited from superclass

org/aswing/Component.hx:1671: lines 1671-1673 : Field get_height should be declared with 'override' since it is inherited from superclass
org/aswing/Component.hx:641: lines 641-643 : Field get_visible should be declared with 'override' since it is inherited from superclass

任何的想法?我已经NME 3.5.3安装

4

1 回答 1

1

AsWing 无法帮助您,但是当您喜欢 Android GUI 时,我真的建议您查看 Ian Harrigan 的 YAHUI ( https://github.com/ianharrigan/YAHUI )。它正在大力发展,但看起来很有希望。

于 2013-01-29T17:54:47.523 回答