Solar2D console not showing on windows 10

Hi there, I’m using Solar2D 2020.3613 and have noticed the console window does not appear at all. I’ve rolled back a few versions and it’s the same. If I go back much further to 2020.3583 then the console window does work but that version is before Solar2D and requires a login that no longer works.

I’ve tried menu->view->console from the simulator - no luck.
I’ve tried to force it to run using start->corona->corona console - no luck.

OS: Windows 10 64-bit build 18363
Java: Version 8 update 261 32-bit (Installed as JDK).

Any ideas?

Cheers,
Mat

I am posting, purely to provide info for anyone who tries to help:

  • I am running Windows 10 as well and 2020.3613 pops-up the console window for me.

@mipsons.mj,
Are you running any anti-virus, malware blocking, etc. programs and if so have you temporarily disabled them and tried again.

Suggestion: Try going to this folder: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Corona then run the console directly to see if it starts. It isn’t what you want, but knowing if it runs is another data point for those who come after to help.

Next: Go here: C:\Program Files (x86)\Corona Labs\Corona and try to run these:

  • Corona.Console.exe
  • Corona.Shell.exe
  • Corona Simulator.exe

@roaminggamer - thanks for the tips, unfortunately the window still did not pop-up.

Its strange as if I roll back enough it works, seems to be at the point it changed from corona to solar2d. What build of w10 are you on? Is it 64-bit too?

Also I don’t know if the console is written in Java or not, but what version of the JDK are you running?

Windows 10 Home (64-bit):

  • Version 2004
  • OS build 19041.388
  • Experience Pack: 120.2202.130.0

java -version
java version “11.0.7” 2020-04-14 LTS
Java™ SE Runtime Environment 18.9 (build 11.0.7+8-LTS)
Java HotSpot™ 64-Bit Server VM 18.9 (build 11.0.7+8-LTS, mixed mode)

Ok my windows version is the same as yours, my JDK is possibly different to yours, but I downloaded what they show on the solar2d webpage which is v8 u261 32-bit. Personally i dont think its the JDK because 1 - The console appears if I roll back enough and 2 - They say it is used for android development only.

I’m stumped now, thanks for your help tho @roaminggamer, appreciated.

Ok so I can see 4 events in event viewer when I run solar2d sim. 2 from the sim and 2 from the console.
2 the sim events are:
Activation context generation failed for “C:\Program Files (x86)\Corona Labs\Corona\Corona Simulator.exe”.Error in manifest or policy file “” on line . A component version required by the application conflicts with another component version already active. Conflicting components are:. Component 1: C:\WINDOWS\WinSxS\manifests\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1_none_fd031af45b0106f2.manifest. Component 2: C:\WINDOWS\WinSxS\manifests\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1_none_b555e41d4684ddec.manifest.

and:

Activation context generation failed for “C:\Program Files (x86)\Corona Labs\Corona\Corona Simulator.exe”.Error in manifest or policy file “” on line . A component version required by the application conflicts with another component version already active. Conflicting components are:. Component 1: C:\WINDOWS\WinSxS\manifests\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1_none_fd031af45b0106f2.manifest. Component 2: C:\WINDOWS\WinSxS\manifests\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1_none_b555e41d4684ddec.manifest.

They look the same, maybe a retry after failure. Seems a conflict between x86 and amd64 common controls, whatever that is lol. Anyway I’m on a x64 architecture:
Intel® Pentium® CPU 4415U @ 2.30GHz, 2301 Mhz, 2 Core(s), 4 Logical Processor(s)

The 2 console events are:
Faulting application name: Corona.Console.exe, version: 20.0.3614.0, time stamp: 0x5f514e2a
Faulting module name: Corona.Console.exe, version: 20.0.3614.0, time stamp: 0x5f514e2a
Exception code: 0xc0000005
Fault offset: 0x0006798c
Faulting process id: 0x236c
Faulting application start time: 0x01d6829eb5ea5cf4
Faulting application path: C:\Program Files (x86)\Corona Labs\Corona\Corona.Console.exe
Faulting module path: C:\Program Files (x86)\Corona Labs\Corona\Corona.Console.exe
Report Id: dfd97930-6357-4c64-b8d8-f35f01945578
Faulting package full name:
Faulting package-relative application ID:

and:

Faulting application name: Corona.Console.exe, version: 20.0.3614.0, time stamp: 0x5f514e2a
Faulting module name: Corona.Console.exe, version: 20.0.3614.0, time stamp: 0x5f514e2a
Exception code: 0xc000041d
Fault offset: 0x0006798c
Faulting process id: 0x236c
Faulting application start time: 0x01d6829eb5ea5cf4
Faulting application path: C:\Program Files (x86)\Corona Labs\Corona\Corona.Console.exe
Faulting module path: C:\Program Files (x86)\Corona Labs\Corona\Corona.Console.exe
Report Id: 132ec0d6-1a48-4339-a1e5-7eb15b639649
Faulting package full name:
Faulting package-relative application ID:

First exception 0xc0000005 is access violation. Don’t really know what the 2nd one is 0xc000041d.

Perhaps I should report this one as a bug?

Consider trying one more re-install.

  1. Uinstall Corona SDK
  2. Reboot.
  3. Re-install Corona SDK

Maybe some file was locked/in-use during the previous install attempt(s)?

Other Apps
Aside from Corona, have you recently installed or uninstalled any new apps, sdks, (MS) redistributables, etc.?

You seem to have a conflict between Corona and another app. Note: You can get a list of all installed apps by following these directions:

Uninstall, reboot and install - no luck, same issue.
I have restored the pc before now just to get a fresh start, there isn’t much on it now, just notepad++, paint.net, chrome and 7zip. Qt and python remained on the PC as they don’t get installed as a true app if you know what I mean :wink:

Windows updates are all done. Still no console window.

Posting to let you know I read your response, but I am at a loss.

Other than experimenting with alternate JDK installs I don’t know what else to suggest.

I have to wonder if with recent changes to bring Solar 2D in line with modern GooglePlay requirements, maybe the JDK requirements have changed? I wish I knew better how the console worked, but I haven’t touched the source yet.

Yeh I was thinking to do the same and bring the JDK up to the same version as yours, its the only other difference really. Anyway, thanks for all the help :+1:t2:

I’ve never really experienced something like that, so I’m not sure what the issue might be.

Did you install Solar2D in the folder as your old Corona was? In that case, it might be some registry issue. I don’t believe JDK has anything to do with that given how you can run Solar2D without having it installed, right?

If you have re-installed the program to the same folder, then try installing it to a new one. If that wasn’t the issue (or the issue is still persists), then try cleaning your registry from references to Solar2D and Corona.

Hi @mipsons.mj,

Try (not tested)

  1. Save a backup of C:\Program Files (x86)\Corona Labs\Corona\Corona Simulator.exe
  2. Download Resource Tuner (free trial) from http://www.restuner.com
  3. Run Resource Tuner and open C:\Program Files (x86)\Corona Labs\Corona\Corona Simulator.exe
  4. Open manifest file
  5. Cut from manifest file
    <dependency><dependentAssembly><assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="*" publicKeyToken="6595b64144ccf1df" language="*"></assemblyIdentity></dependentAssembly></dependency>
  6. Save changes.

I have found this solution in https://answers.microsoft.com/en-us/windows/forum/all/side-by-side/916b3c41-c871-49ce-a7c0-3b5a11dd5345?page=1 (page 3)

Have a nice day:)
ldurniat

1 Like

Ok thanks for that one @ldurniat, that’s fixed the SideBySide errors in the sim, but the sim was working even with those errors. Unfortunately the console stills bombs out with exception 0x5 (Access violation) and 0x41b (Whatever that is?)

Just installed VS code and MS build tools that added 2015-2019 redistributables and the console works fine now. I had this niggling feeling that the redistributables might be a problem as there where more of them on my pc before the restore. Anyway, many thanks @roaminggamer and @ldurniat for your help on this bugging issue :slight_smile:

1 Like

Hi.
I’m having exactly the same issue after putting the latest version of Solar2D on my works laptop.

Windows 10 Pro (64-bit):
Version 2004
OS build 19041.508
Experience Pack: 120.2212.31.0

java version “1.8.0_261”
Java™ SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot™ 64-Bit Server VM (build 25.261-b12, mixed mode)

I’m also running VS Code. Please point me toward the file(s) you downloaded to resolve?
Many thanks,

Nick