查找 id 在 Windows 上的 Android Studio 中不起作用的用法 [英] Find usage of id not working in Android Studio on Windows

查看:25
本文介绍了查找 id 在 Windows 上的 Android Studio 中不起作用的用法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在 XML 中选择了一个 id,鼠标右键单击,find Usage 显示没有出现 id 即使 id 存在于 java 文件中.如果我在 Mac 上做同样的事情,它会找到它.

I selected an id in XML, mouse right click, find Usage shows no occurrence of id even Id exist in java file. And if i do the same in Mac its finding it.

那么是否有任何缓存问题或其他问题?

So is there any cache issue or something else ?

推荐答案

要修复自动完成,请转到:

To fix the autocomplete go to:

File -> Invalidate Caches -> Restart -> 点击 Invalidate and Restart

File -> Invalidate Caches -> Restart -> Click at Invalidate and Restart

这篇关于查找 id 在 Windows 上的 Android Studio 中不起作用的用法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆