I\'ve set up my project in Android Studio to use the Square Wire library, as per this question.
Build -> Compile Project works fine.
Build
Compile Project
Deleting the .idea/caches and .idea/libraries should sort out all the errors.
.idea/caches
.idea/libraries