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
if File -> Invalidate caches/Restart -> Invalidate and Restart is Not Working then follow few step.
1.) Close Your Android Studio
2.) Then Delete Manual on C:\Users\Balbir\ .AndroidStudio4.0\system\caches Folder.
3.) Start Android Studio
It is Work For Me.