laya发布到QQ玩一玩时 调用不了fairygui 是不支持么?

已邀请:

谷主

赞同来自:

支持。

tira

赞同来自:

错误信息如图
[Error] ReferenceError: Can't find variable: window
    全局代码
    loadlib
    全局代码
    JSEvaluateScript
    bkJSScriptLoadString
    bkJSScriptLoadFile
    bkJSScriptLoadLib
    long long JSC::APICallbackFunction::call<JSC::JSCallbackFunction>(JSC::ExecState*)
    JSC::LLInt::setUpCall(JSC::ExecState*, JSC::Instruction*, JSC::CodeSpecializationKind, JSC::JSValue, JSC::LLIntCallLinkInfo*)
    llint_entry
    vmEntryToJavaScript
    JSC::JITCode::execute(JSC::VM*, JSC::ProtoCallFrame*)
    JSC::Interpreter::executeProgram(JSC::SourceCode const&, JSC::ExecState*, JSC::JSObject*)
    JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&, JSC::JSValue, WTF::NakedPtr<JSC::Exception>&)
    JSEvaluateScript
    bkJSScriptLoadString
    bkJSScriptLoadFile
    -[bkGLView execJavaScriptFile:]
    -[ViewController viewDidLoad]
    -[UIViewController loadViewIfRequired]
    -[UINavigationController _updateScrollViewFromViewController:toViewController:]
    -[UINavigationController _startTransition:fromViewController:toViewController:]
    -[UINavigationController _startDeferredTransitionIfNeeded:]
    -[UINavigationController __viewWillLayoutSubviews]
    -[UILayoutContainerView layoutSubviews]
    -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
    -[CALayer layoutSublayers]
    CA::Layer::layout_if_needed(CA::Transaction*)
    CA::Context::commit_transaction(CA::Transaction*)
    CA::Transaction::commit()
    __34-[UIApplication _firstCommitBlock]_block_invoke_2
    __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__
    __CFRunLoopDoBlocks
    __CFRunLoopRun

谷主

赞同来自:

你先解决前面那些错误再说吧。

要回复问题请先登录注册