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
When building for Android, one gets the following error in the dart code:
command: flutter build apk
lib/main.dart:34:25: Error: Can't declare a member that conflicts with an inherited one.
State get createState => _MyHomePageState();
^^^^^^^^^^^
../../../../Dev/flutter/packages/flutter/lib/src/widgets/framework.dart:796:9: Context: This is the inherited member.
State createState();
^^^^^^^^^^^
Target kernel_snapshot failed: Exception
When building for Android, one gets the following error in the dart code:
command: flutter build apk
lib/main.dart:34:25: Error: Can't declare a member that conflicts with an inherited one.
State get createState => _MyHomePageState();
^^^^^^^^^^^
../../../../Dev/flutter/packages/flutter/lib/src/widgets/framework.dart:796:9: Context: This is the inherited member.
State createState();
^^^^^^^^^^^
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.
Where:
Script '/Users/david/Dev/flutter/packages/flutter_tools/gradle/src/main/groovy/flutter.groovy' line: 1297
What went wrong:
Execution failed for task ':app:compileFlutterBuildRelease'.
BUILD FAILED in 1m 16s
Running Gradle task 'assembleRelease'... 77.3s
Gradle task assembleRelease failed with exit code 1
The text was updated successfully, but these errors were encountered: