Android Studio inline compiler showing red errors, but compilation with gradle works fine

后端 未结 27 1144
[愿得一人]
[愿得一人] 2020-11-29 19:22

I\'ve set up my project in Android Studio to use the Square Wire library, as per this question.

Build -> Compile Project works fine.

<
27条回答
  •  情歌与酒
    2020-11-29 19:46

    I was still having the same problem with Android Studio v3.2.1 constantly, and sorted out the problem just removing these two sub-folders of the .idea folder (no need to delete the whole .idea folder) while a gradle sync didn't work:

    • ./idea/caches
    • ./idea/libraries

提交回复
热议问题