[Solved] Android Studio Error:This view is not constrained, it only has designtime positions

When using constraintlayout layout in Android studio, when using other controls, an exception will be reported, with a red wavy line under the control

Click on the magic wand

The result is not wrong


Read More: