Hi @rohittheozzy. I'm going to ask you to provide the full verbose output from a compilation for the ESP32 board. My hope is that will contain some information that will allow us to understand why you are getting this unexpected error.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
Select File > New Sketch from the Arduino IDE menus.
If it is not already, select the ESP32 board from Arduino IDE's Tools > Board menu, just as you had before when you encountered the error.
Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open.
Check the box next to "Show verbose output during: ☐ compile" in the "Preferences" dialog.
Click the "OK" button.
The "Preferences" dialog will close.
Select Sketch > Verify/Compile from the Arduino IDE menus.
Wait for the compilation to finish.
Right click on the black "Output" panel at the bottom of the Arduino IDE window.
A context menu will open.
Select Copy All from the menu.
Open a forum reply here by clicking the "Reply" button.
Click the <CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the compilation output into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Click the "Reply" button to post the output.
In case the output is longer than the forum software will allow to be added to a post, you can instead save it to a .txt file and then attach that file to a reply here.
Select the .txt file you saved from the "Open" dialog.
Click the "Open" button.
The dialog will close.
Click the "Reply" button to publish the post.
Alternatively, instead of using the "Upload" icon on the post composer toolbar as described in steps (5) - (7) above, you can simply drag and drop the .txt file onto the post composer field to attach it.
Previously I was able to debug the same board using the same configurations in Arduino a month ago. But now getting this error while debugging. Is these any solution to the error? there is no other log or error description.
"Error getting Debug info: Unknown FQBN: platform esp32:esp32 is not installed"
screenshot in the first message.