Android Studio could not resolve resource

Refer here: http://blog.csdn.net/dong19870625/article/details/50833433

Original text:

In the development project, the XML file suddenly appears
couldn’t resolve resource @ color / title_ The color (58 similar errors not show) problem caught people off guard. It’s no problem to write the color and other resource files directly, but it’s not the fundamental solution to the problem

Android Studio just gets crazy. But a restart ain’t always enough.

Invalidate your caches and restart.

File -> Invalidate Caches / Restart… -> Invalidate and Restart

According to the above practice, the effect is good, solved my problem, the original as itself also has cache

reference resources: http://stackoverflow.com/questions/8390733/relativelayout-couldnt-resolve-resource-android

———————————————

I also met similar, but I can’t find the relevant style. It can’t be displayed normally in the preview, but it runs normally. No matter refresh or rebuild, it can’t be eliminated. Just follow the above procedure

Read More: