Arduino IDE isnt launching

IDE starts and stuck on the logo animation, I have tried uninstall/install yet nothing changed, also I have tried some solutions from similar topics

here is the log from powershell:


PS D:\programs\Arduino IDE> & '.\Arduino IDE.exe'
PS D:\programs\Arduino IDE>
Arduino IDE 2.3.2
Checking for frontend application configuration customizations. Module path: D:\programs\Arduino IDE\resources\app\lib\backend\electron-main.js, destination 'package.json': D:\programs\Arduino IDE\resources\app\package.json
Setting 'theia.frontend.config.appVersion' application configuration value to: "2.3.2" (type of string)
Setting 'theia.frontend.config.cliVersion' application configuration value to: "0.35.3" (type of string)
Setting 'theia.frontend.config.buildDate' application configuration value to: "2024-02-20T10:04:35.814Z" (type of string)
Frontend application configuration after modifications: {"applicationName":"Arduino IDE","defaultTheme":{"light":"arduino-theme","dark":"arduino-theme-dark"},"defaultIconTheme":"none","electron":{"windowOptions":{}},"defaultLocale":"","validatePreferencesSchema":false,"preferences":{"window.title":"${rootName}${activeEditorShort}${appName}","files.autoSave":"afterDelay","editor.minimap.enabled":false,"editor.tabSize":2,"editor.scrollBeyondLastLine":false,"editor.quickSuggestions":{"other":false,"comments":false,"strings":false},"editor.maxTokenizationLineLength":500,"editor.bracketPairColorization.enabled":false,"breadcrumbs.enabled":false,"workbench.tree.renderIndentGuides":"none","explorer.compactFolders":false},"appVersion":"2.3.2","cliVersion":"0.35.3","buildDate":"2024-02-20T10:04:35.814Z"}
Starting backend process. PID: 6280
Using browser-only version of superagent in non-browser environment
Configuration directory URI: 'file:///c%3A/Users/pc/.arduinoIDE'
Configuring to accept webviews on '^.+\.webview\..+$' hostname.
2024-05-05T07:30:06.189Z root WARN Backend Object.initialize took longer than the expected maximum 50 milliseconds: 112.7 ms [Finished 1.352 s after backend start]
2024-05-05T07:30:06.244Z root WARN Backend Object.configure took longer than the expected maximum 50 milliseconds: 113.1 ms [Finished 1.353 s after backend start]
2024-05-05T07:30:06.244Z root INFO Backend s.onStart: 8.5 ms [Finished 1.353 s after backend start]
2024-05-05T07:30:06.246Z root INFO Backend s.configure: 1.0 ms [Finished 1.463 s after backend start]
2024-05-05T07:30:06.249Z root INFO Backend d.onStart: 0.8 ms [Finished 1.463 s after backend start]
2024-05-05T07:30:06.252Z root INFO Backend d.configure: 0.4 ms [Finished 1.463 s after backend start]
2024-05-05T07:30:06.255Z root WARN Backend d.initialize took longer than the expected maximum 50 milliseconds: 109.9 ms [Finished 1.464 s after backend start]
2024-05-05T07:30:06.256Z root INFO Backend c.onStart: 1.0 ms [Finished 1.464 s after backend start]
2024-05-05T07:30:06.258Z root WARN Backend a.configure took longer than the expected maximum 50 milliseconds: 56.1 ms [Finished 1.521 s after backend start]
2024-05-05T07:30:06.266Z config INFO >>> Initializing CLI configuration...
2024-05-05T07:30:06.266Z root INFO Backend c.initialize: 2.2 ms [Finished 1.522 s after backend start]
2024-05-05T07:30:06.266Z root INFO Backend R.onStart: 3.2 ms [Finished 1.524 s after backend start]
2024-05-05T07:30:06.269Z config INFO Loading CLI configuration from c:\Users\pc\.arduinoIDE\arduino-cli.yaml...
2024-05-05T07:30:06.271Z daemon INFO Starting daemon from D:\programs\Arduino IDE\resources\app\lib\backend\resources\arduino-cli.exe...
2024-05-05T07:30:06.271Z root INFO Backend a.initialize: 1.7 ms [Finished 1.528 s after backend start]
2024-05-05T07:30:06.271Z root INFO Backend w.onStart: 4.3 ms [Finished 1.531 s after backend start]
2024-05-05T07:30:06.271Z root INFO Backend r.configure: 7.0 ms [Finished 1.531 s after backend start]
2024-05-05T07:30:06.272Z discovery-log INFO start
2024-05-05T07:30:06.272Z discovery-log INFO start new deferred
2024-05-05T07:30:06.272Z root INFO Backend d.initialize: 2.0 ms [Finished 1.534 s after backend start]
2024-05-05T07:30:06.272Z root INFO Backend y.onStart: 9.6 ms [Finished 1.541 s after backend start]
2024-05-05T07:30:06.272Z root INFO Backend r.configure: 8.0 ms [Finished 1.542 s after backend start]
2024-05-05T07:30:06.272Z root INFO Backend a.onStart: 1.7 ms [Finished 1.547 s after backend start]
2024-05-05T07:30:06.272Z root INFO Backend h.configure: 1.5 ms [Finished 1.547 s after backend start]
2024-05-05T07:30:06.272Z root INFO Backend s.configure: 0.4 ms [Finished 1.547 s after backend start]
2024-05-05T07:30:06.272Z root INFO Backend l.configure: 0.3 ms [Finished 1.548 s after backend start]
2024-05-05T07:30:06.282Z root INFO Theia app listening on http://127.0.0.1:62584.
2024-05-05T07:30:06.283Z root INFO Finished starting backend application: 11.0 ms [Finished 1.558 s after backend start]
2024-05-05T07:30:06.286Z root WARN The local plugin referenced by local-dir:/c%3A/Users/pc/.arduinoIDE/plugins does not exist.
2024-05-05T07:30:06.287Z root WARN The local plugin referenced by local-dir:/c%3A/Users/pc/.arduinoIDE/extensions does not exist.
2024-05-05T07:30:06.288Z root WARN The local plugin referenced by local-dir:C:\Users\pc\.arduinoIDE\plugins does not exist.
2024-05-05T07:30:06.445Z config INFO Loaded CLI configuration: {"board_manager":{"additional_urls":[]},"build_cache":{"compilations_before_purge":10,"ttl":"720h0m0s"},"daemon":{"port":"50051"},"directories":{"builtin":{"libraries":"C:\\Users\\pc\\AppData\\Local\\Arduino15\\libraries"},"data":"c:\\Users\\pc\\AppData\\Local\\Arduino15","downloads":"C:\\Users\\pc\\AppData\\Local\\Arduino15\\staging","user":"c:\\Users\\pc\\Desktop\\"},"library":{"enable_unsafe_install":false},"locale":"en","logging":{"file":"","format":"text","level":"info"},"metrics":{"addr":":9090","enabled":true},"output":{"no_color":false},"sketch":{"always_export_binaries":false},"updater":{"enable_notification":true}}
2024-05-05T07:30:06.445Z config INFO 'directories.data' and 'directories.user' are set in the CLI configuration model.
2024-05-05T07:30:06.445Z config INFO Loaded the CLI configuration.
2024-05-05T07:30:06.459Z config INFO Mapped the CLI configuration: {"dataDirUri":"file:///c%3A/Users/pc/AppData/Local/Arduino15","sketchDirUri":"file:///c%3A/Users/pc/Desktop/","additionalUrls":[],"network":"none","locale":"en"}
2024-05-05T07:30:06.460Z config INFO Validating the CLI configuration...
2024-05-05T07:30:06.461Z config INFO The CLI config is valid.
2024-05-05T07:30:06.461Z config INFO <<< Initialized the CLI configuration.
2024-05-05T07:30:07.030Z daemon INFO time="2024-05-05T09:30:06+02:00" level=info msg="Using config file: c:\\Users\\pc\\.arduinoIDE\\arduino-cli.yaml"
time="2024-05-05T09:30:06+02:00" level=info msg="arduino-cli.exe version 0.35.3"
time="2024-05-05T09:30:06+02:00" level=info msg="Executing `arduino-cli daemon`"
2024-05-05T07:30:07.054Z daemon INFO Daemon is now listening on 127.0.0.1:62585
{"IP":"127.0.0.1","Port":"62585"}
2024-05-05T07:30:07.054Z daemon INFO Daemon is running.
2024-05-05T07:30:07.281Z root INFO Resolve plugins list: 1012.5 ms [Finished 2.555 s after backend start]
2024-05-05T07:30:07.297Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Checking signature" index="c:\\Users\\pc\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="c:\\Users\\pc\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
2024-05-05T07:30:07.304Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loading hardware from: c:\\Users\\pc\\AppData\\Local\\Arduino15\\packages"
2024-05-05T07:30:07.308Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loading package arduino from: C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware"
2024-05-05T07:30:07.314Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Missing signature file" index="C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\installed.json"
2024-05-05T07:30:07.323Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
2024-05-05T07:30:07.323Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loading tools from dir: C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
2024-05-05T07:30:07.365Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="arduino:arduinoOTA@1.3.0"
2024-05-05T07:30:07.365Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
2024-05-05T07:30:07.367Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="arduino:avrdude@6.3.0-arduino17"
2024-05-05T07:30:07.369Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loading package builtin from: C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-05-05T07:30:07.370Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-05-05T09:30:07+02:00" level=info msg="Loading tools from dir: C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
2024-05-05T07:30:07.373Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
2024-05-05T07:30:07.374Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
2024-05-05T07:30:07.375Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.6"
2024-05-05T07:30:07.375Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.8"
time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
2024-05-05T07:30:07.377Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.3.2"
2024-05-05T07:30:07.377Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.3.3"
time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.3.5"
2024-05-05T07:30:07.377Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
2024-05-05T07:30:07.379Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.11.0"
2024-05-05T07:30:07.379Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.12.0"
2024-05-05T07:30:07.379Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.13.0"
time="2024-05-05T09:30:07+02:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
2024-05-05T07:30:07.385Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: loading platform release arduino:avr@1.8.6: invalid pluggable monitor reference: builtinserial-monitor
2024-05-05T07:30:07.387Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtinserial-discovery not found
2024-05-05T07:30:07.388Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtinmdns-discovery not found
2024-05-05T07:30:07.394Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Adding libraries dir" dir="C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries" location=platform
time="2024-05-05T09:30:07+02:00" level=info msg="Loading libraries index file" index="c:\\Users\\pc\\AppData\\Local\\Arduino15\\library_index.json"
2024-05-05T07:30:07.668Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Adding libraries dir" dir="C:\\Users\\pc\\AppData\\Local\\Arduino15\\libraries" location=ide
2024-05-05T07:30:07.668Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Adding libraries dir" dir="c:\\Users\\pc\\Desktop\\libraries" location=user
2024-05-05T07:30:07.839Z root ERROR The primary packages indexes are missing. Running indexes update before initializing the core gRPC client The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtinserial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtinmdns-discovery not found

2024-05-05T07:30:07.840Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Updating index" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-05-05T07:30:07.842Z daemon INFO time="2024-05-05T09:30:07+02:00" level=info msg="Starting download" url="https://downloads.arduino.cc/packages/package_index.tar.bz2"
2024-05-05T07:30:07.846Z root INFO core-client-provider [platform-index] Downloading index: package_index.tar.bz2

Restoring workspace roots: d:\SSTL\MPU_task\Serial_print_interface_test\Serial_print_interface_test.ino
isTempSketch: false. Input was d:\SSTL\MPU_task\Serial_print_interface_test\Serial_print_interface_test.ino
2024-05-05T07:30:11.062Z daemon INFO time="2024-05-05T09:30:11+02:00" level=info msg="Checking signature" index="c:\\Users\\pc\\AppData\\Local\\Arduino15\\package_index.json" signatureFile="c:\\Users\\pc\\AppData\\Local\\Arduino15\\package_index.json.sig" trusted=true
time="2024-05-05T09:30:11+02:00" level=info msg="Loading hardware from: c:\\Users\\pc\\AppData\\Local\\Arduino15\\packages"
time="2024-05-05T09:30:11+02:00" level=info msg="Loading package arduino from: C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware"
time="2024-05-05T09:30:11+02:00" level=info msg="Missing signature file" index="C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\installed.json"
time="2024-05-05T09:30:11+02:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
time="2024-05-05T09:30:11+02:00" level=info msg="Loading tools from dir: C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\arduino\\tools"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="arduino:arduinoOTA@1.3.0"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="arduino:avrdude@6.3.0-arduino17"
2024-05-05T07:30:11.063Z daemon INFO time="2024-05-05T09:30:11+02:00" level=info msg="Loading package builtin from: C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\builtin"
2024-05-05T07:30:11.072Z daemon INFO time="2024-05-05T09:30:11+02:00" level=info msg="Checking existence of 'tools' path: C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-05-05T09:30:11+02:00" level=info msg="Loading tools from dir: C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\builtin\\tools"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="builtin:ctags@5.8-arduino11"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="builtin:dfu-discovery@0.1.2"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.6"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.8"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="builtin:mdns-discovery@1.0.9"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.3.2"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.3.3"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.3.5"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="builtin:serial-discovery@1.4.0"
2024-05-05T07:30:11.082Z daemon INFO time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.11.0"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.12.0"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.13.0"
time="2024-05-05T09:30:11+02:00" level=info msg="Loaded tool" tool="builtin:serial-monitor@0.14.1"
2024-05-05T07:30:11.084Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: loading platform release arduino:avr@1.8.6: invalid pluggable monitor reference: builtinserial-monitor
2024-05-05T07:30:11.086Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtinserial-discovery not found
2024-05-05T07:30:11.087Z root ERROR Detected an error response during the gRPC core client initialization: code: 9, message: Error loading hardware platform: discovery builtinmdns-discovery not found
2024-05-05T07:30:11.093Z daemon INFO time="2024-05-05T09:30:11+02:00" level=info msg="Adding libraries dir" dir="C:\\Users\\pc\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.6\\libraries" location=platform
time="2024-05-05T09:30:11+02:00" level=info msg="Loading libraries index file" index="c:\\Users\\pc\\AppData\\Local\\Arduino15\\library_index.json"
2024-05-05T07:30:11.682Z daemon INFO time="2024-05-05T09:30:11+02:00" level=info msg="Adding libraries dir" dir="C:\\Users\\pc\\AppData\\Local\\Arduino15\\libraries" location=ide
2024-05-05T07:30:11.683Z daemon INFO time="2024-05-05T09:30:11+02:00" level=info msg="Adding libraries dir" dir="c:\\Users\\pc\\Desktop\\libraries" location=user
2024-05-05T07:30:11.868Z root ERROR Uncaught Exception:  Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtinserial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtinmdns-discovery not found

2024-05-05T07:30:11.868Z root ERROR Error: The index of the cores and libraries must be updated before initializing the core gRPC client.
The following problems were detected during the gRPC client initialization:
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtinserial-discovery not found
[platform-index] - code: 9, message: Error loading hardware platform: discovery builtinmdns-discovery not found

    at D:\programs\Arduino IDE\resources\app\lib\backend\main.js:2:622877
    at E.evaluateErrorStatus (D:\programs\Arduino IDE\resources\app\lib\backend\main.js:2:622893)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async a.<anonymous> (D:\programs\Arduino IDE\resources\app\lib\backend\main.js:2:622563)
2024-05-05T07:30:14.456Z root INFO Deploy plugins list: 1012.5 ms [Finished 9.731 s after backend start]
Opening channel for service path '/services/electron-window'.
Opening channel for service path '/services/ide-updater'.
2024-05-05T07:30:29.878Z root WARN Frontend a.configure took longer than the expected maximum 100 milliseconds: 1256.0 ms [Finished 14.555 s after frontend start]
2024-05-05T07:30:29.906Z root WARN A command editor.action.toggleStickyScroll is already registered.
2024-05-05T07:30:30.423Z root WARN Frontend D.onStart took longer than the expected maximum 100 milliseconds: 331.0 ms [Finished 15.152 s after frontend start]

Hi @eiad131.

It seems that somehow the configuration of the "Arduino AVR Boards" platform (machine identifier arduino:avr) has somehow been corrupted. It should be possible to fix it by uninstalling the bad installation and then reinstalling a fresh copy of the platform. I'll provide instructions you can follow to do that:

  1. Select File > Quit from the Arduino IDE menus if it is running.
    All Arduino IDE windows will close.
  2. Delete the folder at the following path:
    C:\Users\pc\AppData\Local\Arduino15\packages\arduino\hardware\avr
    
    :exclamation: If looking for it with your file manager or command line, note that the AppData folder is hidden by default. On Windows "File Explorer", you can make it visible by opening the "View" menu, then checking the box next to "☐ Hidden items".
    :warning: Please be careful when deleting things from your computer. When in doubt, back up!
  3. Start Arduino IDE.
    This time it should start up fully.
  4. Select Tools > Board > Boards Manager... from the Arduino IDE menus to open the "Boards Manager" view in the left side panel.
  5. Scroll down through the list of boards platforms until you see the "Arduino AVR Boards" entry.
  6. Click the "INSTALL" button at the bottom of the entry.
  7. Wait for the installation process to finish, as indicated by a notification at the bottom right corner of the Arduino IDE window:

    Successfully installed platform ...

A post was split to a new topic: It does not have to be that complex, does it?

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