Exception raised during rendering: -1
Exception details are logged in Window > Show View > Error LogThe graphics preview in the layout editor may not be accurate:
Different corner sizes are not supported in Path.addRoundRect. (Ignore for this session)
Exception details are logged in Window > Show View > Error LogThe graphics preview in the layout editor may not be accurate:
Different corner sizes are not supported in Path.addRoundRect. (Ignore for this session)
2017-01-13
最赞回答 / 王火
同学你的主要问题应该是activity_main.xml里的android:src="@drawable/off",这里的属性应该是background而不是src
2017-01-13
已采纳回答 / 慕粉4300837
看看你的配置文件(values->trings.xml)里有没有Yname这个name。@string/后面接的是string配置文件里的名字,而不是内容。
2017-01-11