Skip to content

Conversation

@Pranav-Sandeep-Shinde
Copy link
Collaborator

just check at your site once and keep backup before merging this.

@sahil2832005
Copy link
Member

0s
4m 55s
Run flutter build apk --release

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants