Hari Balakrishnan
Hari Balakrishnan

Reputation: 1

I have an error in Run of an App in android influtter

Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

Process 'command 'C:\Users\anjana\flutter_windows_2.5.3-stable\flutter\bin\flutter.bat'' finished with non-zero exit value 1

I need time get an method to resolve it I have tried pub get pub upgrade flutter pub upgrade --main versions

Upvotes: 0

Views: 60

Answers (2)

Rohit Sengar
Rohit Sengar

Reputation: 157

Try this CMD :

  1. Invalidate cache & restart

  2. flutter clean

  3. flutter pub get

then try to build again.

Upvotes: 0

Tim
Tim

Reputation: 197

Although I have no way of narrowing down your specific problem, I can recommend trying to create a new flutter project and copying your lib over.

Upvotes: 0

Related Questions