안드로이드

안드로이드 스튜디오 Missing Constraints in ConstraintLayout 에러 해결 방법

Missing Constranints in ConstraintLayout

This view is not constrained. It only has designtime positions, so it will jump to (0,0) at runtime unless you add the constraints The layout editor allows you to place widgets anywhere on the canvas, and it records the current position with designtime attributes (such as layout_editor_absoluteX). These attributes are not applied at runtime, so if you push your layout on a device, the widgets may appear in a different location than shown in the editor. To fix this, make sure a widget has both horizontal and vertical constraints by dragging from the edge connections. Issue id: MissingConstraints

 

infer constraints 버튼입니다. (Android Studio 3.3.2 버전에서 확인했습니다.)

그럼 20000 !

댓글 남기기

이 사이트는 스팸을 줄이는 아키스밋을 사용합니다. 댓글이 어떻게 처리되는지 알아보십시오.