Seriam monitor strange behavior

Hello Im trying to use the serial monitor but i keep getting strange reads.
Leaving…
Hard resetting via RTS pin…
— Terminal on COM12 | 9600 8-N-1
— Available filters and text transformations: colorize, debug, default, direct, esp32_exception_decoder, hexlify, log2file, nocontrol, printable, send_on_enter, time
— More details at Redirecting...
— Quit: Ctrl+C | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
�␁� ~L0J!!!�␂� 11

My code is:
#include<Arduino.h>

void setup()
{
Serial.begin(9600);
}

void loop()
{
Serial.println(“Hello world!”);
delay(1000);
}

Help me solve this problem pls!

The baud rate doesn’t fit. I’ve made the experience that it is good practice to set the baud rate both in code (as you did) and in platformio.ini

monitor_speed=9600

and a delay after Serial.begin :wink:

Thank u but i keep getting another error

I assume that the automatic build triggered by the change in platformio.ini and a build you started manually are interfering. Try a clean build. If the error persists, please show us your platformio.ini.

Okay there was two lines for libraries. Is is possible that i implemented some libs two platform.io?