Android Studio不显示内联错误 [英] Android Studio not showing Inline Error

查看:193
本文介绍了Android Studio不显示内联错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Android Studio(3.0)制作一个Android应用程序.但是突然之间,Android Studio停止显示内联错误,因为在构建应用程序时仍然会显示错误.

I am using Android Studio(3.0) to make an Android App. But suddenly the Android Studio has stopped showing inline errors where as there are still errors which are shown while building the app.

到目前为止,我已经尝试了以下解决方案

Till now I have tried the below solution

1)清洁项目

2)重建项目

3)使缓存无效并重新启动

3) Invalidate cache and restart

4)检查省电模式是否打开

4) Check if the power save mode is on

5)重新同步Gradle

5) Resync the Gradle

6)删除.gradle和.idea文件夹

6) Delete the .gradle and .idea folder

但是它们都没有用.这个问题突然开始了.

But none of them have been useful. This problem has started suddenly.

任何帮助将不胜感激.

推荐答案

尝试使用Analyze菜单上的Inspect Code手动运行检查.

Try running inspection manually with Inspect Code on the Analyze menu.

如果这不起作用,请尝试执行以下操作:

If that doesn't work then try doing this:

  1. 备份您的项目.
  2. 删除所有.iml文件和.idea文件夹.
  3. 重新启动Android Studio并导入您的项目

这篇关于Android Studio不显示内联错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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