Skip to content

Commit 46fb0bd

Browse files
committed
improved formatting, updated content
1 parent d50e496 commit 46fb0bd

20 files changed

+427
-337
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
"label": "Build AAB With Flutter"
2+
"label": "Android Build Errors"
33
}
Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,42 @@
11
---
22
keywords: ['debug', 'android', 'release']
3-
slug: /you-uploaded-an-apk-or-android-app-bundle-that-was-signed-in-debug-mode
4-
title: You uploaded an APK or Android App Bundle that was signed in debug mode.
3+
slug: /signed-in-debug-mode-error
4+
title: Signed in Debug Mode Error
55
---
6-
# You uploaded an APK or Android App Bundle that was signed in debug mode.
6+
# Signed in Debug Mode Error.
77

8+
:::info[Prerequisites]
89

9-
Unsure about the type of error in your project? Refer to this article to learn how to identify Codemagic errors.
10+
Before proceeding, ensure that you:
1011

11-
## What does this error mean?
12+
- Have generated an APK or Android App Bundle via **FlutterFlow → Build → Android**.
13+
- Have access to your exported project folder.
14+
- Are able to edit the **android/app/build.gradle** file.
1215

13-
You need to sign your APK or Android App Bundle in **release mode** instead of debug mode.
16+
:::
1417

15-
## Full error message
18+
When uploading your Android APK or App Bundle to the Play Store or any production environment, you may encounter the following error:
1619

1720
```
1821
You uploaded an APK or Android App Bundle that was signed in debug mode. You need to sign your APK or Android App Bundle in release mode
1922
```
2023

21-
## How to resolve this issue
24+
This happens when your build is signed using a **debug configuration**, which is not acceptable for release uploads.
2225

23-
You'll need to modify your android/app level build.gradle file and replace `debug` with `release`.​
26+
This means that your current build is using the **debug** signing config, which is meant for internal testing or development only.
27+
To fix this, you must update your **build.gradle** file and use the **release** signing configuration.
2428

25-
Follow the steps below:
29+
30+
Follow the steps below to update your configuration:
2631

2732
- Step 1: Find the debug keyword under buildTypes in android/app/builld.gradle in your project folder
2833

29-
![](../../assets/20250430121331806679.png)
34+
![](../../assets/20250430121331806679.png)
3035

3136
- Step 2: Replace the debug keyword with release and then save the file
32-
![](../../assets/20250430121332062568.png)
37+
38+
![](../../assets/20250430121332062568.png)
39+
3340

34-
## The issue was not resolved
3541

3642
If this does not resolve the issue, contact FlutterFlow Support at [email protected]

docs/troubleshooting/google-play-store-deployment-issues/failed-step-generate-launch-icon/failed_step_generate_launch_icon_could_not_find_package_flutter_launcher_icons.md

Lines changed: 0 additions & 36 deletions
This file was deleted.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
---
2+
keywords: ['error', 'package', 'icon']
3+
slug: /fix-launcher-icons-package-error
4+
title: Fix Flutter Launcher Icons Package Error
5+
---
6+
7+
:::info[Prerequisites]
8+
9+
Before you begin, ensure that:
10+
11+
- You have access to your FlutterFlow project.
12+
- You can open and edit your **pubspec.yaml** file.
13+
- You are familiar with your build environment (FlutterFlow, GitHub, or IDE).
14+
:::
15+
16+
When building your app, you may encounter the following error:
17+
18+
```js
19+
Codemagic Deploy Output Failed Step: Generate Launch Icon Could not find package "flutter_launcher_icons". Did you forget to add a dependency? pub finished with exit code 65. Build failed: Step 5 script 'Generate Launch Icon' exited with status code 65.
20+
```
21+
22+
This error means that the required **flutter_launcher_icons** package is missing or not properly configured.
23+
24+
If the error is caused by fix build error in FlutterFlow then do the following:
25+
26+
- **Clear and Reset App Assets**
27+
28+
- Navigate to **Settings and Integrations > App Assets** inside FlutterFlow.
29+
- If the **Splash Screen** and **Launcher Icon** are already set:
30+
- Clear both.
31+
- Re-upload the launcher icons.
32+
33+
![](../../assets/20250430121327988277.gif)
34+
35+
36+
If the error is caused by fix build error in GitHub Deployment then do the following:
37+
38+
**Add flutter_launcher_icons package to pubspec.yaml**
39+
40+
Open your **pubspec.yaml** file and add the following under **dev_dependencies**:
41+
42+
```yaml
43+
dev_dependencies:
44+
flutter_launcher_icons: "^0.10.0"
45+
46+
flutter_icons:
47+
android: true
48+
ios: true
49+
image_path_ios: "assets/images/launcher/ios.png"
50+
image_path_android: "assets/images/launcher/android.png"
51+
```
52+
53+
Explanation:
54+
55+
- flutter_launcher_icons: "^0.10.0": Specifies the version of the launcher icons package.
56+
- image_path_ios: Path to the iOS launcher icon image.
57+
- image_path_android: Path to the Android launcher icon image.
58+
Ensure your image files exist at the correct paths.
59+
60+
After adding the package, run the following commands in your terminal or IDE:
61+
62+
```bash
63+
flutter pub get
64+
flutter pub run flutter_launcher_icons:main
65+
flutter run
66+
```
67+
68+
- flutter pub get: Fetches all required packages.
69+
- flutter pub run flutter_launcher_icons:main: Generates launcher icons.
70+
- flutter run: Builds and runs the app.
71+
72+
If this does not resolve the issue, contact FlutterFlow Support at [email protected] for further assistance.
73+
74+
75+
76+
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
keywords: ["icon", "added", "launcher"]
3+
slug: /launcher-icon-missing-after-upload
4+
title: Launcher Icon Missing After Upload
5+
---
6+
7+
# Launcher Icon Missing After Upload
8+
9+
If your custom app launcher icon is not appearing after adding it in the project settings, follow these steps to resolve the issue:
10+
11+
1. **Run the Launcher Icon Generation Command**
12+
13+
After downloading or exporting your code, open a terminal in your project directory and run:
14+
15+
```sh
16+
flutter pub run flutter_launcher_icons:main
17+
```
18+
19+
This command will generate the launcher icons for your app.
20+
21+
2. **Set Up Your Flutter Environment**
22+
23+
To run the above command, you need to have a Flutter environment set up on your machine. Follow the official **[Flutter installation guide](https://docs.flutter.dev/get-started/install)** if you haven't already.
24+
25+
:::info[Still not working?]
26+
- Double-check that your icon files are correctly named and placed in the appropriate directory.
27+
- Make sure your `pubspec.yaml` includes the correct configuration for `flutter_launcher_icons`.
28+
- Try cleaning your project with `flutter clean` and then re-running the icon generation command.
29+
:::

docs/troubleshooting/google-play-store-deployment-issues/failed-step-generate-launch-icon/my_app_launcher_icon_is_not_showing_up_even_though_I_had_added_it_in_project_settings..md

Lines changed: 0 additions & 32 deletions
This file was deleted.

docs/troubleshooting/google-play-store-deployment-issues/failed-step-get-flutter-packages/because_project_name_depends_on_flutter_test_from_sdk_version_solving_failed..md

Lines changed: 0 additions & 27 deletions
This file was deleted.
Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
---
22
keywords: ['error', 'running', 'install']
3-
slug: /i-get-this-error-error-running-pod-install
4-
title: 'I get this error: Error running pod install'
3+
slug: /error-running-pod-install
4+
title: Error Running Pod Install
55
---
66

7-
# I get this error: Error running pod install
7+
# Error Running Pod Install
88

99
If you see the error **"Error running pod install"**, it usually means there is a misconfiguration of Flutter on your device.
1010

11-
## How to Fix
11+
Follow the steps below to fix the issue:
1212

13-
- Make sure Flutter is set up correctly on your device. Follow the official guide: [Flutter - Get Started: Install on macOS](https://docs.flutter.dev/get-started/install/macos)
14-
- If you are on a Mac, see this article for troubleshooting: [Troubleshooting Flutter on macOS](https://intercom.help/flutterflow/en/articles/6156947-i-get-this-error-error-running-pod-install)
15-
16-
## Additional Tips
13+
- Make sure Flutter is set up correctly on your device. Follow the official guide: **[Flutter - Get Started: Install on macOS](https://docs.flutter.dev/get-started/install/macos)**
14+
- If you are on a Mac, see this article for troubleshooting: **[Troubleshooting Flutter on macOS](https://intercom.help/flutterflow/en/articles/6156947-i-get-this-error-error-running-pod-install)**
1715

16+
:::tips[Additional Tips]
1817
- Run `flutter doctor` in your terminal to check for any missing dependencies or issues.
1918
- Make sure CocoaPods is installed and up to date by running:
2019
```sh
@@ -28,5 +27,4 @@ If you see the error **"Error running pod install"**, it usually means there is
2827
cd ios
2928
pod install
3029
```
31-
32-
If you still encounter problems, refer to the [Flutter documentation](https://docs.flutter.dev/) or reach out to support.
30+
:::
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
keywords: ['error', 'version', 'failed']
3+
slug: /version-solving-failed-due-to-incompatible-package
4+
title: Version Solving Failed Due to Incompatible Package.
5+
---
6+
# Version Solving Failed Due to Incompatible Package.
7+
8+
When running `flutter pub get`, you may encounter a **version solving failed** error if your project contains package versions that are incompatible with FlutterFlow’s supported Flutter version.
9+
10+
```js
11+
Running "flutter pub get" in flutter_tools... 3.4s Resolving dependencies... Because every version of flutter_test from sdk depends on collection 1.15.0 and horse_care_new depends on collection 1.16.0, flutter_test from sdk is forbidden. So, because horse_care_new depends on flutter_test from sdk, version solving failed. pub finished with exit code 1
12+
```
13+
14+
Follow the steps below to solve the issue:
15+
16+
If you are using a custom action/widget in your project.
17+
18+
- Check if the package you use for custom action or widget is compatible with FlutterFlow's Flutter version.
19+
20+
- Check the pubspec.yaml file before adding the dependency to the custom widget/action so that if the package already exists in pubspec file, then you only need to add it as a header file in the custom widget/action code. You won't need to add the dependency separately.
21+
22+
If you aren't using any custom widget or action, then please report this issue to support via Chat or Email at [email protected].
23+

0 commit comments

Comments
 (0)