Android Studio “cannot resolve symbol” but project compiles and works

后端 未结 13 2235
我在风中等你
我在风中等你 2020-12-24 10:49

The project compiles fine. However, Android studio 3.0.1 shows reference to one particular library in red and displays \"cannot resolve symbol\". Even single stepping into

13条回答
  •  离开以前
    2020-12-24 11:16

    For me problem was that AS suggested I upgrade gradle version, (from 3.5 to 4.4), and then it started doing it.

    Solution was to delete the 3.5 folder from .gradle in project

提交回复
热议问题