我报这个错的原因是我在布局中添加了这句话
<include layout="@layout/item_ceshi"/>
导致我报错只需要在设置中设置一下就可以了
解决办法:
File->Settings->Built,Execution,Deployment->Instant Run
不用勾选Enable Instant Run to hot swap code/resource changes on deploy(default enabled)
然后运行一下就可以了
我报这个错的原因是我在布局中添加了这句话
<include layout="@layout/item_ceshi"/>
导致我报错只需要在设置中设置一下就可以了
解决办法:
File->Settings->Built,Execution,Deployment->Instant Run
不用勾选Enable Instant Run to hot swap code/resource changes on deploy(default enabled)
然后运行一下就可以了