Hi there!
I'm creating a new project in flutterflow, i'm using firebase authentication, firestore and some others Google Services. When i was testing on flutterflow (webview), everything was working fine. But at the time to take a try on a real Android, i got some troubles.
At first, i downloaded the apk directly from FF, and i was unable to login throught Google Authentication. Then i though to open the project on Android Studio, to look at the logcat, and get some 'verbose' data from the error.
But when i try to run the app on a Realme 7, i get a bunch of errors from diferents packages.
Someone has facing the same problem? Any recommendations on how to solve that?
That's what i get from the console:
Launching lib\main.dart on RMX2155 in debug mode...
Running Gradle task 'assembleDebug'...
../../../AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image-3.2.1/lib/src/image_provider/cached_network_image_provider.dart:76:54: Error: Type 'DecoderCallback' not found.
image_provider.CachedNetworkImageProvider key, DecoderCallback decode) {
^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image-3.2.1/lib/src/image_provider/cached_network_image_provider.dart:95:5: Error: Type 'DecoderCallback' not found.
DecoderCallback decode,
^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image-3.2.1/lib/src/image_provider/cached_network_image_provider.dart:76:54: Error: 'DecoderCallback' isn't a type.
image_provider.CachedNetworkImageProvider key, DecoderCallback decode) {
^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image-3.2.1/lib/src/image_provider/cached_network_image_provider.dart:95:5: Error: 'DecoderCallback' isn't a type.
DecoderCallback decode,
^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image-3.2.1/lib/src/image_provider/_image_loader.dart:22:5: Error: Type 'DecoderCallback' not found.
DecoderCallback decode,
^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image-3.2.1/lib/src/image_provider/_image_loader.dart:22:5: Error: 'DecoderCallback' isn't a type.
DecoderCallback decode,
^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image_platform_interface-1.0.0/lib/cached_network_image_platform_interface.dart:24:5: Error: Type 'DecoderCallback' not found.
DecoderCallback decode,
^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/cached_network_image_platform_interface-1.0.0/lib/cached_network_image_platform_interface.dart:24:5: Error: 'DecoderCallback' isn't a type.
DecoderCallback decode,
^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_image.dart:32:48: Error: Type 'DecoderCallback' not found.
ImageStreamCompleter load(BlurHashImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));
^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_image.dart:32:48: Error: 'DecoderCallback' isn't a type.
ImageStreamCompleter load(BlurHashImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));
^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_widget.dart:218:42: Error: Type 'DecoderCallback' not found.
ImageStreamCompleter load(UiImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));
^^^^^^^^^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dev/flutter_blurhash-0.7.0/lib/src/blurhash_widget.dart:218:42: Error: 'DecoderCallback' isn't a type.
ImageStreamCompleter load(UiImage key, DecoderCallback decode) => OneFrameImageStreamCompleter(_loadAsync(key));
^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
* Where:
Script 'C:\Users\user\Documents\flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy' line: 1368
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'C:\Users\user\Documents\flutter\bin\flutter.bat'' finished with non-zero exit value 1
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.