自动导入工作不为Android类机器人工作室不为、机器人、工作室、工作

2023-09-08 09:06:26 作者:起來、不願做作業旳人們

我的工作在Android的工作室的项目。突然,发生的汽车进口stpped工作在Android的工作室为Android类,比如Android.widgets.Textview等。在设置自动导入功能。如果我写的进口android.widget.textview,然后TextView的showoff在自动导入对话框。请在寻找解决方案的帮助。在此先感谢

I am working on a project in Android studio. Suddenly it happened that auto import stpped working in android studio for Android classes, like Android.widgets.Textview etc. In setting auto import is enabled. If I write import android.widget.textview, then TextView showoff in the auto import box. Please help in finding a solution. Thanks in advance

推荐答案

该问题是与机器人工作室的索引。

The problem was with android studio indexing.

按照以下步骤。

进入文件>无效缓存/重启

Go to 'File' > 'Invalidate caches/restart'

现在的工作室将关闭并重新启动。现在索引开始。在索引完成后,你会发现意见箱与每一个可能的建议。

Now the studio will shut down and restart. Now indexing begins. On completion of indexing you will find the Suggestion boxes with every possible suggestions.

 
精彩推荐
图片推荐