AutomationTool: Couldn't update resource

I had the same issue today. Your solutiun works but there is a faster way. When you zip up project from editor, it wont zip intermediate and some other folders. So you can just delete your intermediate folder to solve this issue.(after you make a backup of that folder)