Hello there,
I hope you all are doing well.
I am trying to build the apk on android studio and I've followed every guide mentioned in the doc.
But I am facing this error on the android studio:
💪 Building with sound null safety 💪
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /Users/arkobd/development/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging-14.2.4/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: /Users/arkobd/development/flutter/.pub-cache/hosted/pub.dartlang.org/uni_links-0.5.1/android/src/main/java/name/avioli/unilinks/UniLinksPlugin.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/pin_input_text_field-4.4.0/lib/src/widget/pin_widget.dart:65:9: Error: Type 'EditableTextContextMenuBuilder' not found.
final EditableTextContextMenuBuilder? contextMenuBuilder;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/pin_input_text_field-4.4.0/lib/src/widget/pin_widget.dart:419:5: Error: Type 'EditableTextContextMenuBuilder' not found.
EditableTextContextMenuBuilder? contextMenuBuilder,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/pin_input_text_field-4.4.0/lib/src/widget/pin_widget.dart:65:9: Error: 'EditableTextContextMenuBuilder' isn't a type.
final EditableTextContextMenuBuilder? contextMenuBuilder;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/pin_input_text_field-4.4.0/lib/src/widget/pin_widget.dart:281:9: Error: No named parameter with the name 'contextMenuBuilder'.
contextMenuBuilder: widget.contextMenuBuilder,
^^^^^^^^^^^^^^^^^^
../../../development/flutter/packages/flutter/lib/src/material/text_field.dart:276:9: Context: Found this candidate, but the arguments don't match.
const TextField({
^^^^^^^^^
../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/pin_input_text_field-4.4.0/lib/src/widget/pin_widget.dart:419:5: Error: 'EditableTextContextMenuBuilder' isn't a type.
EditableTextContextMenuBuilder? contextMenuBuilder,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FAILURE: Build failed with an exception.
* Where:
Script '/Users/arkobd/development/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1156
* What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
> Process 'command '/Users/arkobd/development/flutter/bin/flutter'' 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.
* Get more help at https://help.gradle.org
BUILD FAILED in 31s
Running Gradle task 'assembleRelease'... 32.8s
Gradle task assembleRelease failed with exit code 1
Can you please help me
@momarel ?
Thank you so much.