forked from GCWizard/GCWizard
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheat_sheet.txt
More file actions
101 lines (82 loc) · 2.26 KB
/
cheat_sheet.txt
File metadata and controls
101 lines (82 loc) · 2.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
==============================
s
Android Release Build command:
flutter build appbundle --release --target-platform android-arm,android-arm64
==============================
Format code:
s
Activation of dart format:
flutter pub global activate dart_style
dart format lib -l 120
==============================
Common Build Error Fixes:
flutter upgrade --force
flutter pub cache repair
flutter clean
Caches to clean:
Gradle (Windows: users/.gradle)
Pub cache (Windows: users/appdata/local/pub)
Android Studio
Windows:
users/.android
users/appdata/local/google/androidstudioX
caches
compiler
compiler-server
conversion
external-build-system
frameworks
gradle
resource-folder-cache
IntelliJ (Project Path ./.idea)
Build Path (Project Path ./build)
==============================
Web Build:
First time:
flutter config --enable-web
flutter create .
Else:
flutter build web
2021/02: Currently problems with HTML objects: Please uncomment lines in lib\widgets\utils\file_utils.dart
===============================
Icons:
Android: android/app/src/main/res/mipmap-*/ic_launcher.png
iOS: ios/Runner/Assets.xcassets/AppIcon.appiconset/
/*** Troubleshooting on compiling ***/
-----------
Execution failed for task ':app:compileFlutterBuildDebug' Issue
->
flutter channel stable
flutter upgrade --force
flutter pub cache repair
cd <YOUR APP FOLDER>
flutter clean
-----------
iOS build: GeneratedPluginRegistrant.m Module not found.
-> Open XCode with .xcworkspace file instead of .xcodeproj
---------------
Xcode 10: unable to attach DB error
-> Delete /users/.../Library/Developer/Xcode/DerivedData directory
--------------
Could not find a file named"pubspec.yaml"in
-> dart pub get
--------------
Xcode 14 beta error: Stored properties cannot be marked potentially unavailable with '@available'
-> Navigate to ios folder and run following commands:
-> pod install
-> pod update
Xcode: Command PhaseScriptExecution failed with a nonzero exit code
->
flutter clean
flutter pub get
flutter pub upgrade
cd iOS
pod install
pod update
XCode No access to accounts:
Restart XCode or restart entire macOS
========
Crowdin CLI Install:
https://github.com/crowdin/crowdin-cli/releases/latest/download/crowdin.exe
Crowdin Upload: crowdin upload sources
Crowdin Download: crowdin download