One of Solve "avrdude: stk500_getsync(): not in sync: resp=0x00"

There are lots of cause for this error. I was getting this error for one week. But im using 3meters usb cable , and i think this is causing a problem about synchronization. I tried it with a short cable and then it solved.