Issues with Building and Deploying to Google Play Store After Duplicating a Project

Project Settings

Hello everyone,

I'm encountering an issue while trying to build and deploy my FlutterFlow app to the Google Play Store. I would greatly appreciate any help or suggestions you could offer. Here are the details:

Project Duplication: Recently, I duplicated my original project in FlutterFlow to create an admin version. However, I ended up deleting this new version. Since then, I've been facing issues with Firebase integration and building the app.

Build Errors: When attempting to deploy, I encounter the following error during the AAB build in Flutter:

/Users/builder/.pub-cache/hosted/pub.dev/video_player_android-2.7.0/android/src/main/java/io/flutter/plugins/videoplayer/VideoPlayer.java:22: error: cannot find symbol
final class VideoPlayer implements TextureRegistry.SurfaceProducer.Callback {
                                                                  ^
  symbol:   class Callback
  location: interface SurfaceProducer
/Users/builder/.pub-cache/hosted/pub.dev/video_player_android-2.7.0/android/src/main/java/io/flutter/plugins/videoplayer/VideoPlayer.java:84: error: cannot find symbol
    surfaceProducer.setCallback(this);
                   ^
  symbol:   method setCallback(VideoPlayer)
  location: variable surfaceProducer of type SurfaceProducer
2 errors

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':video_player_android:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

This error seems to be related to the video_player_android package. However, I am not using this package directly in my project. Could this be related to internal FlutterFlow dependencies or some configuration that was inadvertently changed?

Firebase Configuration: When I try to validate the Firestore schema, I also receive an error. I suspect that by working on the duplicated version of the project, something might have become misconfigured with Firebase. The Google API Keys and authentication settings seem correct, but I'm not sure if there's anything else I should check.

Additional Issues with External APIs: During the time I worked on the duplicated project, I deployed the external APIs I use and mistakenly regenerated the Firebase configuration files from this copied project. This might have caused conflicts or misconfigurations in the original project.

What have you tried so far?

I have tried to reverse all the steps I took in the deleted project that were related to Firebase. I attempted to regenerate the config files from the current project and redeployed the APIs.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
2 replies