Код: Выделить всё
`../AndroidDependencies/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_archive-4.2.0/lib/flutter_archive.dart:190:44: Error: The getter 'name' isn't defined for the class 'ZipFileOperation'.
- 'ZipFileOperation' is from 'package:flutter_archive/flutter_archive.dart' ('../AndroidDependencies/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_archive-4.2.0/lib/flutter_archive.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'name'.
return Future.value(result.name);
^^^^
Код: Выделить всё
e: C:\Development\AndroidDependencies\flutter\.pub-cache\hosted\pub.dartlang.org\arcore_flutter_plugin-0.0.11\android\src\main\kotlin\com\difrancescogianmarco\arcore_flutter_plugin\ArCoreView.kt: (245, 38): Object is not abstract and does not implement abstract member public abstract fun onActivityCreated(@NonNull p0: Activity, @Nullable p1: Bundle?): Unit defined in android.app.Application.ActivityLifecycleCallbacks
e: C:\Development\AndroidDependencies\flutter\.pub-cache\hosted\pub.dartlang.org\arcore_flutter_plugin-0.0.11\android\src\main\kotlin\com\difrancescogianmarco\arcore_flutter_plugin\ArCoreView.kt: (246, 13): 'onActivityCreated' overrides nothing
- Где:
Script 'C: Строка \Development\AndroidDependologies\flutter\packages\flutter_tools\gradle\flutter.gradle: 991 - Что пошло не так:
Не удалось выполнить задачу ':app:compileFlutterBuildRelease'.
Это мой pubsec.yaml п>
Код: Выделить всё
name: project
description: A new Flutter project.
# The following line prevents the package from being accidentally published to
# pub.dev using `pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# The following defines the version and build number for your application.
# A version number is three numbers separated by dots, like 1.2.43
# followed by an optional build number separated by a +.
# Both the version and the builder number may be overridden in flutter
# build by specifying --build-name and --build-number, respectively.
# In Android, build-name is used as versionName while build-number used as versionCode.
# Read more about Android versioning at https://developer.android.com/studio/publish/versioning
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.0.0+1
environment:
sdk: ">=2.7.0
Подробнее здесь: [url]https://stackoverflow.com/questions/78356875/flutter-build-error-during-flutter-build-apk[/url]