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
Copy file name to clipboardExpand all lines: docs/troubleshooting/deployment/codemagic_deployment_error_identification.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,10 +30,11 @@ Follow the steps below to identify your codemagic error:
30
30
- Now, press **Cmd/Ctrl + F** to search for the term **"error"** in the logs to find the root cause of the issue. Keep pressing **"Enter"** till you find the error ( this is usually at the bottom of the logs ).
31
31
32
32
If you search for "error" and still don't find an error message that makes sense to you then you can also try with the following keyword:
33
-
- message
33
+
34
+
**message**
34
35
35
-

36
+

36
37
37
-
- Now select and copy this error message and paste it in the Help Center search in the chat icon in the bottom-right corner to search the error. This will help you find the help article for this issue and then you can find the fix for it.
38
+
- Now select and copy this error message and paste it in the Help Center search in the chat icon in the bottom-right corner to search the error. This will help you find the help article for this issue and then you can find the fix for it.
Copy file name to clipboardExpand all lines: docs/troubleshooting/deployment/codemagic_deployment_tips.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,8 @@ title: CodeMagic Deployment Tips
8
8
Here are some tips to avoid Deployment issues:
9
9
10
10
:::tip
11
-
- Make sure you've followed all the steps for setting up deployment in your project.
11
+
- Make sure you've followed all the steps for [setting up deployment](http://localhost:3000/deployment/deploy-for-environments/#mobile-deployment)
12
+
in your project.
12
13
- If you choose a deployment source from a GitHub Repository then please make sure that it's associated with FlutterFlow's GitHub integration.
13
14
- If you are deploying to the Play Store from a GitHub repo, make sure to modify your build.gradle file to sign in release mode.
14
15
- Setting a version number is optional but may be required for specific cases. If you are updating an existing app that has not been deployed using FlutterFlow yet, you will want to specify a version number.
Copy file name to clipboardExpand all lines: docs/troubleshooting/deployment/resolve_errors_in_downloaded_code.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ When you download your project from FlutterFlow and run it locally in your IDE,
29
29
30
30
3.**Upgrading or Downgrading to the correct Flutter version**
31
31
32
-
If the current version on your machine is different than what is currently supported by FlutterFlow, you can downgrade or upgrade to the supported version. You can learn more about upgrading our Flutter[here](https://docs.flutterflow.io/deploying-your-app/testing-your-app/testing-on-mobile-device#id-2.-verify-correct-flutter-version). By following these steps, you can fix the errors that you face after downloading the code and run locally.
32
+
If the current version on your machine is different than what is currently supported by FlutterFlow, you can downgrade or upgrade to the supported version. You can learn more about [**upgrading Flutter**](https://docs.flutterflow.io/deploying-your-app/testing-your-app/testing-on-mobile-device#id-2.-verify-correct-flutter-version). By following these steps, you can fix the errors that you face after downloading the code and run locally.
33
33
34
34
If you continue to experience issues, contact the FlutterFlow support team via live chat or email at [email protected].
Copy file name to clipboardExpand all lines: docs/troubleshooting/deployment/run_mode_build_failure.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,13 +9,13 @@ Encountering a "Run mode: Build failed" error can be frustrating when you're eag
9
9
10
10
This guide provides a structured approach to troubleshooting and resolving "Run mode: Build failed" errors, ensuring a smooth development process for your projects.
11
11
12
-
1.**Recognizing the Error**
12
+
-**Recognizing the Error**
13
13
14
14
Here's what the "Run mode: Build failed" error looks like inside of FlutterFlow:
15
15
16
16

17
17
18
-
2.**Understanding Test Mode vs. Run Mode**
18
+
-**Understanding Test Mode vs. Run Mode**
19
19
20
20
Here's a little background on run mode vs. test mode in FlutterFlow. Test mode runs as a "test" to help you identify errors before deployment. These features include a debugger and display warnings. Alternatively, run mode attempts to run the app in **release mode** to better mimic what your users can expect in production. In release mode, **warnings are mostly suppressed**, meaning it's important to ensure you are acknowledging and addressing warnings in debug mode before you enter run mode.
21
21
@@ -33,7 +33,7 @@ This guide provides a structured approach to troubleshooting and resolving "Run
33
33
34
34
## Common Scenarios and Solutions
35
35
36
-
1.**Custom Code Failures**
36
+
-**Custom Code Failures**
37
37
38
38
-**Issue**: Your project's custom code doesn't show errors within the editor, but errors appear when you try to run the app.
39
39
@@ -43,7 +43,7 @@ This guide provides a structured approach to troubleshooting and resolving "Run
43
43
44
44
-**Best practice**: Consider running the code locally on a sample Flutter project before implementing the custom code inside FlutterFlow to identify possible errors logged.
45
45
46
-
2.**Widget Failures**
46
+
-**Widget Failures**
47
47
48
48
-**Issue**: A widget within your app causes the build to fail due to errors.
49
49
@@ -57,43 +57,43 @@ This guide provides a structured approach to troubleshooting and resolving "Run
57
57
58
58
- Verify that widgets are named clearly for easy identification
59
59
60
-
3.**Build Fails Without Error Messages**
60
+
-**Build Fails Without Error Messages**
61
61
62
62
-**Issue**: The build process fails without displaying an error message, making it challenging to diagnose the problem.
63
63
64
64
-**Solution**: Download and run the project code locally with a debugger to identify and resolve the issue. If downloading the code is problematic, check your browser's console for errors that might indicate the cause.
65
65
66
66

67
67
68
-
4.**Grey Screen in Run Mode**
68
+
-**Grey Screen in Run Mode**
69
69
70
70
-**Issue**: Encountering a grey screen in run mode usually indicates an error suppressed by the release mode.
71
71
72
72
-**Solution**: Run the app in test mode to potentially reveal the error for troubleshooting. If test mode does not display errors, use the browser's developer console for clues.
73
73
74
74
## Checklist for Troubleshooting
75
75
76
-
1.**Identify when and where the error occurs**:
76
+
-**Identify when and where the error occurs**:
77
77
78
78
Determine if the error is specific to run mode, test mode, or other instances like APK download or code download.
79
79
80
-
2.**Locate the source of the error**:
80
+
-**Locate the source of the error**:
81
81
82
82
The error message often provides clues about where the problem lies, whether in custom code, a specific widget, or elsewhere.
83
83
84
-
3.**Check for platform support**:
84
+
-**Check for platform support**:
85
85
86
86
For issues related to custom code, ensure compatibility with your target platforms.
87
87
88
-
4.**Examine widget configuration**:
88
+
-**Examine widget configuration**:
89
89
90
90
Verify that all actions and configurations associated with widgets are complete and correct.
91
91
92
-
5.**Utilize local debugging**:
92
+
-**Utilize local debugging**:
93
93
94
94
If the error is elusive, running the debugger locally on your downloaded code can help identify the issue.
95
95
96
-
6.**Leverage browser tools**:
96
+
-**Leverage browser tools**:
97
97
98
98
The browser's console and developer tools can offer insights, especially when dealing with errors that don't manifest in traditional debug outputs.
0 commit comments