2

当我尝试安装“playhaven”插件时,这就是我在 Corona Simulator 输出上得到的结果。我不知道如何摆脱这个。

        Build: 2013.1202 Runtime error ?:0: attempt to call field 'request' (a nil value) stack traceback:
        [C]: in function 'request'
        ?: in function 'downloadManifest'
        ?: in function 'downloadQueuedManifests'
        ?: in function <?:632>
        ?: in main chunkRuntime error

stack traceback:
        [C]: in function 'request'
        ?: in function 'downloadManifest'
        ?: in function 'downloadQueuedManifests'
        ?: in function <?:632>
        ?: in main chunk

如果您想查看我的build.settings文件,因为在我将插件集成到 build.settings 文件之后。我收到了上面显示的错误。

settings =
{
        orientation =
        {
                default = "portrait",
                supported = { "portrait" },
        },

        androidPermissions =
        {
                "android.permission.ACCESS_COARSE_LOCATION",
                "android.permission.ACCESS_FINE_LOCATION",
                "android.permission.INTERNET",
                "android.permission.READ_PHONE_STATE",
                "android.permission.ACCESS_NETWORK_STATE",
        },

        plugins =
        {
                -- key is the name passed to Lua's 'require()'
                ["plugin.playhaven"] =
                {
                    -- required
                    publisherId = "com.playhaven",
                },
        },  

        iphone =
        {
                plist =
                {
                        UIPrerenderedIcon = true,
                        UIApplicationExitsOnSuspend = false,
                        CFBundleIconFile = "Icon.png",
                        CFBundleIconFiles = {
                           "Icon.png", 
                           "Icon@2x.png",
                        },
                },
        },
}
4

2 回答 2

1

Playhaven 仅适用于 Pro 和 Enterprise 订阅者。看:

http://docs.coronalabs.com/daily/plugin/playhaven/

你是专业人士还是初学者?

于 2013-09-09T00:58:24.297 回答
0

由于您提供的有关系统和环境的信息很少,我只能猜测。似乎安装程序试图下载某些东西(或通过某种协议连接)但失败了。你检查你的防火墙/代理设置了吗?也许连接会被自动拒绝,而您却不知道。

于 2013-09-06T19:23:38.293 回答