In Android Studio Dolphin | 2021.3.1 Patch 1,xml preview is not working on particular layouts.Is there any solution to solve this problem? Please help me to solve the problem.
CodePudding user response:
fellow coder.
In the latest update of Android Studio i.e. Dolphin | 2021.3.1, there are many unresolved bugs so don't worry.
- Try Invalidate and Restart option
- After restarting if it still shows the some error, check whether you have used any third party library's tag into that xml file.
Because I also faced the same issue and later on found out that it was occurring due to that third party lib's tag. If present, try to comment that particular code and check whether the preview appears or not.
Add your xml file code for better understanding and it might help to resolve your errors.