【问题标题】:Again, Class not found再次,找不到类
【发布时间】:2013-11-17 15:57:07
【问题描述】:

当我将 stablexui 升级到上一个版本时,我首先将其删除:

haxelib remove stablexui

然后安装最后一个版本:

haxelib install stablexui

然后,当我尝试编译时,我得到了这个错误:

src/com/clientside/Icon.hx:3:字符 7-30:找不到类: ru.stablex.ui.UIBuilder 构建因错误而停止 (haxelib.exe)。

虽然已安装,但这是我的 haxelib 列表:

actuate: [1.7.0]
dcaclab_types: [1.0]
hscript: [2.0.1]
hxlibc: [1.0.0]
hxtools: [1.1.6]
openfl: [1.1.1]
openfl-html5-dom: [1.1.1]
openfl-native: [1.1.4]
openfl-samples: [1.1.0]
rox-i18n: [1.0.0]
stablexui: [1.0.15]
swf: [1.1.1]

有人可以帮忙吗?

【问题讨论】:

    标签: haxe openfl haxelib stablexui


    【解决方案1】:

    您可能需要更新 haxelib 本身。试试haxelib selfupdate(然后是haxe update.hxml)。在 3.1.0 版本中,我们引入了将库的类路径放入包的子文件夹的可能性,许多库都使用它。不幸的是,Haxe 安装程序仍然带有 haxelib 3.0.0。

    【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2015-06-13
    • 1970-01-01
    • 2014-08-19
    • 1970-01-01
    • 2016-04-04
    • 1970-01-01
    相关资源
    最近更新 更多