Coding⏱️ 3 min read📅 2026-06-03

How to Fix: Playstore error: App Bundle contains native code, and you've not uploaded debug symbols

Flutter app bundle error fix

Quick Answer: Add the android.defaultConfig.ndk.debugSymbolLevel = 'FULL' property to your app's build.gradle file, and also upload a symbol file to the Playstore.

The 'App Bundle contains native code, and you've not uploaded debug symbols' error is encountered when releasing a new Flutter app bundle to the Playstore. This issue affects developers who are uploading their apps for release without properly configuring their Android build settings.

This error can be frustrating, especially for new developers, as it prevents the app from being published successfully. However, by following the steps outlined in this guide, you should be able to resolve the issue and get your app live on the Playstore.

🛑 Root Causes of the Error

  • The primary reason for this error is that the Flutter app uses native code, which requires debug symbols to be uploaded along with the app bundle. Debug symbols provide valuable information about crashes and ANRs (Application Not Responding) in the app, making it easier to diagnose and fix issues.
  • Another possible cause could be a misconfigured Android build settings or missing dependencies required for uploading debug symbols.

🛠️ Step-by-Step Verified Fixes

Configuring Android Build Settings

  1. Step 1: Open the `app/build.gradle` file and navigate to the `android` section. Ensure that the `defaultConfig.ndk.debugSymbolLevel` property is set to `'FULL'`. This setting tells Gradle to include debug symbols in the app bundle.
  2. Step 2: Verify that the `minificationEnabled` property is set to `false`, as this can prevent the inclusion of debug symbols. You can do this by adding the following line to your `build.gradle` file: `android.defaultConfig.minificationEnabled = false`.
  3. Step 3: Check if you have any dependencies in your `pubspec.yaml` file that are not compatible with uploading debug symbols. If necessary, update or remove these dependencies to resolve the issue.

Using a Symbol Server

  1. Step 1: If configuring Android build settings does not resolve the issue, you can try using a symbol server like Crashlytics or Firebase Crashlytics. These services allow you to upload your app's debug symbols and crash reports, making it easier to diagnose issues.
  2. Step 2: To use a symbol server, follow these general steps: 1) Create an account with the chosen service provider, 2) Configure your Flutter project to send crash reports to the service, and 3) Upload any required dependencies or configurations.

✨ Wrapping Up

By following these steps, you should be able to resolve the 'App Bundle contains native code, and you've not uploaded debug symbols' error when releasing your Flutter app on the Playstore. Remember to always check your Android build settings and ensure that you are uploading debug symbols for any issues related to crashes or ANRs in your app.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions