IDE hangs on first startup after installation on Surface Pro 7

I've successfully installed and run the Arduino IDE v2.3.4 on a Dell laptop, but when I tried to install it on a Microsoft Surface Pro 7, I was not successful. The installation process itself completed without errors, but when I try to launch the IDE, the UI just shows a blank white page with a pulsating Arduino logo — this does not change after waiting 5-10 min, or after restarting the IDE.

Any tips for troubleshooting this? If there is a log, where would I find it?

From the first installation experience (on the Dell laptop), I know that several driver packages are installed on first launch, so I suspect that the issue may be related to this. In my first failed attempt to launch the IDE on the Surface Pro, the device was in Airplane Mode, but disabling Airplane Mode and restarting the IDE did not fix the issue.


System specs:
Microsoft Surface Pro
Intel Core i3-1005G1 CPU
4 GB memory
Windows 10 version 1903 (OS Build 18362.720), 64-bit

On first startup a lot of stuff needs to be downloaded. Make sure the Surface Pro has unfettered internet access. Generally only a problem in work and especially school environments.

Thanks for your response. This is not a work or school device, and I did disable Airplane Mode and connect to my home WiFi network, but no joy. Is there a log file that can identify what is happening?

I think you mean enable Airplane mode. Leave that alone and set to normal which is OFF.
It can take a while, so leave it for 15min to 30min. Also look all over the screen to see if anything is changing.
There may be some logs in the Arduino hidden directory. I drive a Mac so it's /(user)/arduinoIDE./logs My log files are empty. I have never done it but use a txt editor and open the yaml file. About 2/3 down is a logging entry. I just copied the filename entry for my user just a few lines above and ended it with mylog. I forgot to add .txt to that but you should, do a start up, then kill it 60 to 90 secs later and go look at the file you created. Not obvious, post whatever looks like a problem back here in code tags.

No, I did mean "disable". I was explaining that it was originally enabled (Airplane Mode on, with no internet access), but that I subsequently disabled Airplane Mode (turning it off, thereby restoring internet access) in the process of trying to fix the problem. Restoring internet access did not help — the IDE still hung on launch.

In the meantime, I found instructions for how to generate a debug log, and was consequently able to diagnose and fix the issue.

The problem was that the system clock on the Surface Pro was off. After synchronizing the clock, the IDE launches without problem (and successfully installs its required drivers).

1 Like

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.