how to solve arduino IDE on ubuntu 22.04.
error:
avrdude: ser_open(): can't open device "/dev/ttyACM0": Permission denied
Failed uploading: uploading error: exit status 1
Upload error: Failed uploading: uploading error: exit status 1
resolution:
just open terminal and type:
sudo chmod a+rw /dev/ttyACM0
then.. upload your code again. and works.