Skip to content

Instantly share code, notes, and snippets.

@zhao0
Created November 8, 2021 07:17
Show Gist options
  • Save zhao0/82d25e1224a85995547fd2e26a9b30c6 to your computer and use it in GitHub Desktop.
Save zhao0/82d25e1224a85995547fd2e26a9b30c6 to your computer and use it in GitHub Desktop.
remove flutter build commad armv7 arch
flutter_path=`which flutter`
flutter_bin_dir=`dirname $flutter_path`
echo 'remove cache'
rm $flutter_bin_dir/cache/flutter_tools.snapshot
rm $flutter_bin_dir/cache/flutter_tools.stamp
flutter_dir=`dirname $flutter_bin_dir`
echo 'remove code'
sed -i '' -e '508d' $flutter_dir/packages/flutter_tools/lib/src/build_info.dart
echo 'done'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment