You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running Gradle task 'assembleRelease'...
Checking the license for package Android SDK Build-Tools 33.0.1 in /usr/local/lib/android/sdk/licenses
License for package Android SDK Build-Tools 33.0.1 accepted.
Preparing "Install Android SDK Build-Tools 33.0.1 v.33.0.1".
"Install Android SDK Build-Tools 33.0.1 v.33.0.1" ready.
Installing Android SDK Build-Tools 33.0.1 in /usr/local/lib/android/sdk/build-tools/33.0.1
"Install Android SDK Build-Tools 33.0.1 v.33.0.1" complete.
"Install Android SDK Build-Tools 33.0.1 v.33.0.1" finished.
Checking the license for package Android SDK Platform 33 in /usr/local/lib/android/sdk/licenses
License for package Android SDK Platform 33 accepted.
Preparing "Install Android SDK Platform 33 (revision 3)".
"Install Android SDK Platform 33 (revision 3)" ready.
Installing Android SDK Platform 33 in /usr/local/lib/android/sdk/platforms/android-33
"Install Android SDK Platform 33 (revision 3)" complete.
"Install Android SDK Platform 33 (revision 3)" finished.
Checking the license for package Android SDK Platform 31 in /usr/local/lib/android/sdk/licenses
License for package Android SDK Platform 31 accepted.
Preparing "Install Android SDK Platform 31 (revision 1)".
"Install Android SDK Platform 31 (revision 1)" ready.
Installing Android SDK Platform 31 in /usr/local/lib/android/sdk/platforms/android-31
"Install Android SDK Platform 31 (revision 1)" complete.
"Install Android SDK Platform 31 (revision 1)" finished.
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: /home/runner/.pub-cache/hosted/pub.dev/firebase_messaging-14.7.10/android/src/main/java/io/flutter/plugins/firebase/messaging/FlutterFirebaseMessagingPlugin.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
lib/features/disaster_alerts/widgets/evacuation_map.dart:436:8: Error: 'didUpdateWidget' is already declared in this scope.
void didUpdateWidget(EvacuationMap oldWidget) {
^^^^^^^^^^^^^^^
lib/features/disaster_alerts/widgets/evacuation_map.dart:84:8: Context: Previous declaration of 'didUpdateWidget'.
void didUpdateWidget(EvacuationMap oldWidget) {
^^^^^^^^^^^^^^^
lib/features/disaster_alerts/widgets/evacuation_map.dart:456:10: Error: 'build' is already declared in this scope.
Widget build(BuildContext context) {
^^^^^
lib/features/disaster_alerts/widgets/evacuation_map.dart:95:10: Context: Previous declaration of 'build'.
Widget build(BuildContext context) {
^^^^^
lib/features/disaster_alerts/widgets/evacuation_map.dart:526:10: Error: '_buildFloatingRouteInfoPanel' is already declared in this scope.
Widget _buildFloatingRouteInfoPanel() {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/features/disaster_alerts/widgets/evacuation_map.dart:166:10: Context: Previous declaration of '_buildFloatingRouteInfoPanel'.
Widget _buildFloatingRouteInfoPanel() {
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
lib/features/disaster_alerts/widgets/evacuation_map.dart:681:10: Error: '_buildMapControls' is already declared in this scope.
Widget _buildMapControls() {
^^^^^^^^^^^^^^^^^
lib/features/disaster_alerts/widgets/evacuation_map.dart:246:10: Context: Previous declaration of '_buildMapControls'.
Widget _buildMapControls() {
^^^^^^^^^^^^^^^^^
lib/features/disaster_alerts/widgets/evacuation_map.dart:711:10: Error: '_buildZoomControls' is already declared in this scope.
Widget _buildZoomControls() {
^^^^^^^^^^^^^^^^^^
lib/features/disaster_alerts/widgets/evacuation_map.dart:322:10: Context: Previous declaration of '_buildZoomControls'.
Widget _buildZoomControls() {
^^^^^^^^^^^^^^^^^^
lib/features/disaster_alerts/widgets/evacuation_map.dart:138:18: Error: Can't use '_buildMapControls' because it is declared more than once.
child: _buildMapControls(),
^
lib/features/disaster_alerts/widgets/evacuation_map.dart:147:18: Error: Can't use '_buildZoomControls' because it is declared more than once.
child: _buildZoomControls(),
^
lib/features/disaster_alerts/widgets/evacuation_map.dart:158:22: Error: Can't use '_buildFloatingRouteInfoPanel' because it is declared more than once.
child: _buildFloatingRouteInfoPanel(),
^
lib/features/disaster_alerts/widgets/evacuation_map.dart:124:44: Error: The getter '_animatedPolylines' isn't defined for the class '_EvacuationMapState'.
'_EvacuationMapState' is from 'package:***/features/disaster_alerts/widgets/evacuation_map.dart' ('lib/features/disaster_alerts/widgets/evacuation_map.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named '_animatedPolylines'.
polylines: _isAnimatingRoute ? _animatedPolylines : widget.polylines,
^^^^^^^^^^^^^^^^^^
lib/features/disaster_alerts/widgets/evacuation_map.dart:119:19: Error: The method '_setMapStyle' isn't defined for the class '_EvacuationMapState'.
'_EvacuationMapState' is from 'package:***/features/disaster_alerts/widgets/evacuation_map.dart' ('lib/features/disaster_alerts/widgets/evacuation_map.dart').
Try correcting the name to the name of an existing method, or defining a method named '_setMapStyle'.
_setMapStyle(controller);
^^^^^^^^^^^^
lib/features/disaster_alerts/widgets/evacuation_map.dart:301:17: Error: The method '_setMapStyle' isn't defined for the class '_EvacuationMapState'.
'_EvacuationMapState' is from 'package:***/features/disaster_alerts/widgets/evacuation_map.dart' ('lib/features/disaster_alerts/widgets/evacuation_map.dart').
Try correcting the name to the name of an existing method, or defining a method named '_setMapStyle'.
_setMapStyle(_mapController);
^^^^^^^^^^^^
lib/features/disaster_alerts/widgets/evacuation_map.dart:498:18: Error: Can't use '_buildMapControls' because it is declared more than once.
child: _buildMapControls(),
^
lib/features/disaster_alerts/widgets/evacuation_map.dart:507:18: Error: Can't use '_buildZoomControls' because it is declared more than once.
child: _buildZoomControls(),
^
lib/features/disaster_alerts/widgets/evacuation_map.dart:518:22: Error: Can't use '_buildFloatingRouteInfoPanel' because it is declared more than once.
child: _buildFloatingRouteInfoPanel(),
^
Target kernel_snapshot_program failed: Exception
FAILURE: Build failed with an exception.
What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
Process 'command '/opt/hostedtoolcache/flutter/stable-3.27.1-x64/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 4m 53s
Running Gradle task 'assembleRelease'... 293.7s
Gradle task assembleRelease failed with exit code 1
Error: Process completed with exit code 1.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
just check at your site once and keep backup before merging this.