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
Just do this on your Android studio:
File -> Invalidate caches/Restart -> Invalidate and Restart
This worked for me. No need to clear ./gradle or ./idea folder