You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You installation was corrupted, i.e. it was missing a gen_snapshot binary which otherwise should be present. This for example might be caused by antivirus software quarantining it - so if you are using any antivirus software I suggest you exempt flutter installation folder from scanning.
Then you copied an ARM64 gen_snapshot over to the place where ARM gen_snapshot lives. These two binaries are completely different and can't be just copied like that - that's why you hit a problem.
Instead you should remove cache folder entirely (it is located in F:\Android\flutter\bin\cache judging by the output you posted), then run flutter doctor - which would download all artifacts again. As I said before you would need to watch your antivirus - if you are running any - and make sure that it does not randomly remove parts of the Flutter installation.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
the first time when i use the cmd to run 'flutter build apk', the crash message is:
command
flutter build aot --suppress-analytics --quiet --target lib/main.dart --target-platform android-arm --output-dir F:\Work\flutterapptest\KuPaiFlutter\build\app\intermediates\flutter\release --target-platform android-arm --release
exception
flutter doctor
i had do as this
Then , I run 'flutter build apk' again ,another problem arises
The text was updated successfully, but these errors were encountered: