2

When I try to run my code I get this error (no errors or warnings in flutter doctor):

enter image description here

1 Answer 1

2

Make sure you don't have any corrupted images/gifs/videos etc. If you have anything that requires a special encoder to run, this error probably will show up.

But if everything is okay, just add this line in your build.gradle file.

aaptOptions {  
    cruncherEnabled = false  
}  

This will probably solve your problems.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.