3

screenshot of my preview

I open Android Studio and everything in my project loads except for the preview screen. How can I make the preview load?

3

In my case, I prematurely closed the Android studio while it was building the project. And when I tried File > Sync Project with Gradle Files, it worked.

1
  • It worked for me @DrDonkey. Thanks. – laksys Dec 25 '19 at 6:17
0

For me, What was causing the bug was a file named firestore.rules (Working on a flutter App) I've realized that when temporary removing every file (not document) in the project directory.

So what you can do is remove as much files as needed to make it work again, and then add them one by one until it bug again: this is your problematic file.

(you can btw test it immediatly by creating a new project to see if it's not a bug with your android studio software)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.