I tried Invalidate cache/restart or clean Project -> rebuild project. These didn’t work for me.
The final solution was open Project window on the left side of IDE, under Project mode, delete .gradle and .idea folder, then sync, it works.
I tried Invalidate cache/restart or clean Project -> rebuild project. These didn’t work for me.
The final solution was open Project window on the left side of IDE, under Project mode, delete .gradle and .idea folder, then sync, it works.