Skip to content

Instantly share code, notes, and snippets.

@zhao0
zhao0 / remove.sh
Created November 8, 2021 07:17
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'