Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting "Error: Missing Constraints in ConstraintLayout"

I am using Android Studio 3.0.1. Whenever I drag button or do any other activity on my Activity Screen it gives me the following error

Missing Constraints in ConstraintLayout"

enter image description here

I need a permanent fix for this issue. Please help me.

like image 902
Prateek Awasthi Avatar asked Dec 12 '17 17:12

Prateek Awasthi


1 Answers

See in the pallete just above your design you will see a wand type tool, when you will hover over it it will show infer constraint , just click on it and your problem will be solved

like image 192
vaibnak Avatar answered Nov 03 '22 01:11

vaibnak