2

This is what i a getting on my Corona Simulator Output when i try to install the 'playhaven' plugin. I don't know how to get rid of this.

        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

In case you wanna take a look at my build.settings file because after i integrated the plugins into the build.settings file. I recieved the error i showed above.

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",
                        },
                },
        },
}
Syed Arsalan Kazmi
  • 949
  • 1
  • 11
  • 17

2 Answers2

1

Playhaven is only available to Pro and Enterprise subscribers. See:

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

Are you a Pro or a Starter?

Rob Miracle
  • 3,053
  • 1
  • 13
  • 12
  • I am a starter. When would it available for the starter developers? And the second thing i would like to ask that the same error i am getting for "revmob" too. "revmob.lua line "387". "Attempt to call field request a nil value."". In that case i dont know what can be the possible reason for that occurance. – Syed Arsalan Kazmi Sep 09 '13 at 08:29
  • Actually we've opened up Playhaven to Starter accounts. For RevMob, you will need to contact them. They provide support on their product. – Rob Miracle Oct 14 '13 at 00:44
0

Since you gave so few information on your system and environment I can only guess. It seems that the installer tried to download something (or connect via some protocol) and failed. Did you check your firewall/proxy settings? Maybe connections are automatically refused and you are not aware of it.

  • I am working with Corona SDK on windows 7. I am tring to integrate ads in my android application. Whhen i try to run my application it gives this runtime error displayed above. – Syed Arsalan Kazmi Sep 06 '13 at 21:00