No resource found that matches the given name (at 'layout_above' with value '@id/butt

问题描述:Android项目编译后,出现error:

Error:(19, 31) No resource found that matches the given name (at 'layout_above' with value '@id/button1').


原因:当前控件调用的button1控件未在当前控件前定义就会提示找不到该资源


解决方法:将当前控件所调用的button1控件放到当前控件前即可


你可能感兴趣的:(No resource found that matches the given name (at 'layout_above' with value '@id/butt)