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
The following steps helps
project/.idea
~/.gradle
Open the project again. Everything should be solved.