【发布时间】:2019-10-04 02:21:57
【问题描述】:
我使用的是 android studio 3.5.1 版,对于所有其他项目,它工作正常,但对于特定项目,xml 建议没有显示。我已经尝试过使缓存失效,删除.idea文件夹,但结果还是一样。
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".xyz">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</LinearLayout>
【问题讨论】: