Skip to content

syncfusion_flutter_datagrid: ^21.1.41 -> Causing error when running app in release mode. #1176

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
arv-aks opened this issue Apr 25, 2023 · 1 comment

Comments

@arv-aks
Copy link

arv-aks commented Apr 25, 2023

../../../.pub-cache/hosted/pub.dev/syncfusion_flutter_datagrid-21.1.41/lib/src/datagrid_widget/runtime/column.dart:200:3: Error: The name of a constructor must match the name of the enclosing class.
GridColumnGridTextColumn({
^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception

FAILURE: Build failed with an exception.

  • Where:
    Script '/Users/aks/Downloads/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1151

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildRelease'.

Process 'command '/Users/aks/Downloads/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.

BUILD FAILED in 5s
Running Gradle task 'assembleRelease'... 6.4s
Exception: Gradle task assembleRelease failed with exit code 1
#0 throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1 AndroidGradleBuilder.buildGradleApp (package:flutter_tools/src/android/gradle.dart:408:9)

#2 AndroidGradleBuilder.buildApk (package:flutter_tools/src/android/gradle.dart:184:5)

#3 AndroidDevice.startApp (package:flutter_tools/src/android/android_device.dart:574:7)

#4 FlutterDevice.runCold (package:flutter_tools/src/resident_runner.dart:518:33)

#5 ColdRunner.run (package:flutter_tools/src/run_cold.dart:57:28)

#6 RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:715:27)

#7 FlutterCommand.run. (package:flutter_tools/src/runner/flutter_command.dart:1257:27)

#8 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#9 CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#10 FlutterCommandRunner.runCommand. (package:flutter_tools/src/runner/flutter_command_runner.dart:283:9)

#11 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#12 FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)

#13 run.. (package:flutter_tools/runner.dart:64:9)

#14 AppContext.run. (package:flutter_tools/src/base/context.dart:150:19)

#15 main (package:flutter_tools/executable.dart:91:3)

@Tamilarasan-Paranthaman

Hi @arv-aks,

We have tested the attached sample with the latest version of DataGrid (21.1.41) and were unable to reproduce the reported issue in release mode. The sample appears to be functioning correctly. However, if you are still experiencing the same issue, please provide us with additional information including the sample you are using and the output of 'flutter doctor'. This will help us better understand the problem and provide an appropriate solution as soon as possible. If you have any other relevant details to share, please let us know.

sample.zip

Regards,
Tamilarasan

@arv-aks arv-aks closed this as completed May 6, 2023
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

No branches or pull requests

2 participants