Corona Simulator freezes / black screen

The problem is when I load any main.lua project it freezes the Simulator, the screen remains black, and suddenly it may show the app but most part of time it doesn´t.

I tried to reinstall Corona SDK many times, boot windows 7, and also delete the AppData temp files on Windows 7 User´s folder (full install). I have Corona SDK last version, and also happens with the last nightly built 2016.2870.

Here is the screen trying to load something but it freezes

Does this happen with a brand new blank project?

Yes, it happens even if I don´t open anything but the Corona Simulator. It just doesn´t work.

First of all, the Welcome screen should not appear inside of a device skin. This tells me something isn’t installed correctly. What happens if you try to run the Hello World sample app?

Next the error in the console window is also interesting. It says you’re trying to overwrite the require global variable ( a feature we recently added to protect system globals).

Let me see if I can get a couple of answers for you.

Rob

How are you starting Corona SDK?

Can you click on the right hand side where it says “Samples” and navigate to Getting Started->Hello World and run that project?

Can you post the source code to your project? Copy/Paste please. Click on the blue <> button in the row with Bold, Italics, etc. and paste the code into the window that opens.

Rob

I tried what you said but, again, it won’t start anything at all. It is not a source code problem, is the simulator itself that freezes. Could you please teach me how to clean everything related to Corona SDK install so I can try to reinstall it from scratch? I’m asking this because I noticed that even deleting everything from APPDATA folder and uninstalling Corona through Control Panel, when I reinstall it I can see my history of recent projects and my login is already there.

This may sound like a silly question but how are you starting the Corona Simulator? Double-clicking the desktop icon, double-clicking a main.lua file, some other way?

I’ll put together some directions to clean out the registry in a moment but what you’re seeing isn’t likely to be caused by anything in there.

Does this happen with a brand new blank project?

Yes, it happens even if I don´t open anything but the Corona Simulator. It just doesn´t work.

First of all, the Welcome screen should not appear inside of a device skin. This tells me something isn’t installed correctly. What happens if you try to run the Hello World sample app?

Next the error in the console window is also interesting. It says you’re trying to overwrite the require global variable ( a feature we recently added to protect system globals).

Let me see if I can get a couple of answers for you.

Rob

How are you starting Corona SDK?

Can you click on the right hand side where it says “Samples” and navigate to Getting Started->Hello World and run that project?

Can you post the source code to your project? Copy/Paste please. Click on the blue <> button in the row with Bold, Italics, etc. and paste the code into the window that opens.

Rob

I tried what you said but, again, it won’t start anything at all. It is not a source code problem, is the simulator itself that freezes. Could you please teach me how to clean everything related to Corona SDK install so I can try to reinstall it from scratch? I’m asking this because I noticed that even deleting everything from APPDATA folder and uninstalling Corona through Control Panel, when I reinstall it I can see my history of recent projects and my login is already there.

This may sound like a silly question but how are you starting the Corona Simulator? Double-clicking the desktop icon, double-clicking a main.lua file, some other way?

I’ll put together some directions to clean out the registry in a moment but what you’re seeing isn’t likely to be caused by anything in there.