Hi there,
I am not sue if it’s necessarily a newbie issue, but I am a newbie so I thought I would start here to see if it’s a simple issue I am dealing with.
I am completely new to Corona SDK and decided to buy a source code to work with. I tend to learn better by starting with a modification process rather than attempting to start from scratch. The developer has been incredibly helpful, but he was unable to resolve my last issue. I will give a bit of background first to see if it helps.
The source code was pretty much ready to upload - I simply had to make a few changes to insert proper ID’s for ad’s and the Playstore. I downloaded Corona SDK 2014.2511 and after a bit of trial and error managed to get it working (for the most part) and was running alpha testing on Google Play Store. I was getting no errors at all. However, the one final issue I had was in app purchases. I noticed when I tried to purchase coins within the game it did nothing - no errors; it simply did nothing and displayed no messages.
When I contacted the developer about the issue they had me send over my exisiting code and they tested it. They made a few minor changes and stated it worked fine for them now. They were testing on Mac and Apple devices. Meanwhile, I was testing it on a PC and android device (Samsung Note 4). When they sent the code back it still didn’t work for me.
We did a bit of troubleshooting and they asked what version of Corona SDK I was running. When I confirmed it was 2014.2511 they said it was a very old version and that I should download the daily builds regularly. That is when it all fell apart for me! I installed the most recent daily build and suddenly my app wouldn’t work at all and I was getting this error:
Runtime error
?:0: attempt to index global ‘network’ (a nil value)
stack traceback:
?: in function ‘downloadManifest’
?: in function ‘downloadQueuedManifests’
?: in function ‘?’
?: in function <?:718>
(tail call): ?
?: in function <?:498>
?: in function <?:221>
They had me comment out the following codes one at time to see if the error would go away or any other errors would appear:
storyboard.gotoScene(“menuScene”, “fade”);
adsLib.init(activeAdsProviders);
networksLib.init(activeNetworksProviders);
I did as suggested and nothing changed. No new errors and it did not resolve the existing issue.
I am also noticing that when I open Corona Simulator it looks like it’s trying to load or connect and just sits at the halfway point. This is before I even open a project - it’s just on the main screen, so I am wondering if that may be part of the problem. I’ve attached a little screenshot of what I am referring to.
Has anyone else had a similar issue or could you possibly offer some advice on how to resolve this?
Any help would be greatly appreciated.
Thanks,
Kim
