【问题标题】:Suggestion not showing in xml layouts with ctrl+space in Android Studio建议未在 Android Studio 中使用 ctrl+space 显示在 xml 布局中
【发布时间】:2014-12-15 19:11:40
【问题描述】:

我在使用 android studio 时遇到问题,即在布局 .xml 文件中按 ctrl+space 时看不到建议。编辑器始终显示“无建议”。 提前致谢。

【问题讨论】:

    标签: xml android-layout android-studio


    【解决方案1】:

    你也可以试试这个

    1. 关闭Android Studio然后进入android studio所在的文件夹 或者你可以去

      drive C -> users -> find .gradle file and do below things
      
    2. Find .gradle file -> In .gradle folder delete caches folder 然后重新启动 android studio 与 Gradle 同步您的文件... 它为我工作:D

    【讨论】:

      【解决方案2】:

      你可以试试File -> Invalidate Cache/Restart。这对我有用。

      希望对你有帮助。

      【讨论】:

        【解决方案3】:

        我已通过 File -> Invalidate Cache/Restart Android studio 修复它。

        【讨论】:

          猜你喜欢
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多