As before, it is essential that you follow my instructions exactly:
You must run the entire command I provided, not a fragment of it.
As before, it is essential that you follow my instructions exactly:
You must run the entire command I provided, not a fragment of it.
PS C:\Program Files\Arduino IDE> Get-ChildItem -Path C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\
Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 15-07-2022 11:38 ctags
d----- 15-07-2022 11:38 mdns-discovery
d----- 15-07-2022 11:38 serial-discovery
d----- 15-07-2022 11:38 serial-monitor
PS C:\Program Files\Arduino IDE>
OK, it is looking good so far.
I'm going to ask you to post some additional information that might help us to identify the problem.
Please do this:
Get-ChildItem -Path C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\ -Recurse
</>
icon on the post composer toolbar.```
) to your reply to make sure the error messages are correctly formatted.Please let me know if you have any questions or problems while following those instructions.
PS C:\Program Files\Arduino IDE> Get-ChildItem -Path C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\ -Recurse
>>
Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 15-07-2022 11:38 ctags
d----- 15-07-2022 11:38 mdns-discovery
d----- 15-07-2022 11:38 serial-discovery
d----- 15-07-2022 11:38 serial-monitor
Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\ctags
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 15-07-2022 11:38 5.8-arduino11
Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\ctags\5.8-arduino11
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 15-07-2022 11:38 283804 ctags.exe
Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\mdns-discovery
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 15-07-2022 14:27 1.0.5
Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\mdns-discovery\1.0.5
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 15-07-2022 11:38 35149 LICENSE.txt
Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\serial-discovery
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 15-07-2022 14:27 1.3.2
Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\serial-discovery\1.3.2
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 15-07-2022 11:38 35149 LICENSE.txt
Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\serial-monitor
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 15-07-2022 11:38 0.9.1
Directory: C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\serial-monitor\0.9.1
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 15-07-2022 11:38 35149 LICENSE.txt
-a---- 15-07-2022 11:38 3618816 serial-monitor.exe
PS C:\Program Files\Arduino IDE>
I see the problem here:
Notice that these two folders only contain a file LICENSE.txt
:
C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\mdns-discovery\1.0.5
C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\serial-discovery\1.3.2
There should be a file named mdns-discovery.exe
and serial-discovery.exe
respectively in each of those folders. These tools are installed automatically the first time you start the Arduino IDE, but the installations are incomplete. That causes startup of the IDE to fail.
The most likely explanation for the missing files is that your antivirus software thought they looked suspicious and quarantined them.
Please check in the quarantine area of your antivirus software settings to see if the files are in there.
Sir, both LICENSE.txt files are in given folder.
C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\mdns-discovery\1.0.5
C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\serial-discovery\1.3.2
Please read my previous post again very carefully. Note especially this paragraph:
After that, you can follow my instructions so that we can make progress towards getting your Arduino IDE working:
Sir, I uninstalled the antivirus. but problem is same.
I did not and do not recommend going without an antivirus.
Anyway, that is your choice to make. We can focus our attention on getting the Arduino IDE working.
Please try this:
C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\mdns-discovery
C:\Users\user\AppData\Local\Arduino15\packages\builtin\tools\serial-discovery
Please be very careful when deleting things from your computer. When in doubt, back up!
ⓘ If looking for it with your file browser, note that those folders are 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".
When you start the Arduino IDE, it will automatically install the missing tools. If you antivirus is not interfering this time, that process should complete successfully and the IDE will be fully functional.
Dear sir, thanks a lot for your cooperation. after reinstall of antivirus the arduino ide running successfully .
again thanks
rajiv kashyap
I'm very glad it is working now. Great work on persevering through the difficulties to finally achieve success!
Even though the antivirus was the real culprit here, the Arduino IDE should handle such a situation more gracefully, recovering automatically when possible. The Arduino developers are tracking this issue here:
So hopefully it can be improved so that future users won't suffer so much as you did in this situation.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.