My Arduino uno doesn't wanna connect via usb

I heve been trying different ports and reinstalling the drivers for the board, it has connecting in some fom decause it has flashing lights the board and i can put in LED but i cannot upload code and stuff.

Please do this:

  • File > Preferences > Show verbose output during: > compilation (uncheck) > upload (check) > OK
  • Sketch > Upload
  • After the upload fails you'll see a button on the right side of the orange bar "Copy error messages". Click that button.
  • Paste the error messages in a reply here USING CODE TAGS (</> button on the forum toolbar).