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
I had a similar issue before, invalidating cache and restarting didn't resolve it. I just did a Gradle Sync and everything worked fine.