Rex
Rex

Reputation: 41

flutter Cannot load settings from .iml file Android Studio

emphasized text Cannot load settings from file 'C:\Users\Admin\AndroidStudioProjects\master.idea\master.iml': ParseError at [row,col]:[1,1] Message: Content is not allowed in prolog.Please correct the file content

Event Log Screenshot

Upvotes: 3

Views: 3394

Answers (2)

Walied Abdulaziem
Walied Abdulaziem

Reputation: 399

You can solve it by closing emulator and restart android studio then from terminal command run (flutter clean) and restart again, run your project and every thing will be ok.

Upvotes: 0

connelblaze
connelblaze

Reputation: 793

this is actually an Android studio problem and not Flutter.

Close your IDE then open your project folder and look for .idea open it and look for module.xml. Delete that file and open Android studio again.

It will generate a new *.iml and module.xml files and that error won't be there

Upvotes: 11

Related Questions