问题描述
Tool -> Layout Inspector 显示下图,无法生成.li文件查看Component Tree,变成实时的Preview并功能点击操作,跟模拟器一样。
原因:默认勾选了"Enable embedded Layout Inspector",启用了嵌入式的功能。

解决方案
File -> Settings 搜索 Layout Inspector 快速进入设置,取消勾选"Enable embedded Layout Inspector",然后重启IDE。

软件版本信息
新版布局检查器说明:
https://developer.android.com/studio/debug/layout-inspector?hl=zh-cn#embedded-layout-inspector
遗留问题
打开了之后,无法连接到视图