How can I fix “Design editor is unavailable until a successful build” error? December 25, 2022 by Tarik Go to File > Sync Project with Gradles Files.