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
I am on beta channel of flutter, and after the most recent upgrade, I can't build on iOS and Android.
The main issue seems to be that 'SentryAssetBundle' is missing implementations for sentry_asset_bundle.dart:37
console logs below:
iOS:
Launching lib/main.dart on iPhone in debug mode...
main.dart:1
Automatically signing iOS for device deployment using specified development team in Xcode project: ...
Xcode build done. 108.7s
Failed to build iOS app
Could not build the precompiled application for the device.
Error (Xcode): ../../../.pub-cache/hosted/pub.dev/sentry_flutter-6.20.1/lib/src/sentry_asset_bundle.dart:37:7: Error: The non-abstract class 'SentryAssetBundle' is missing implementations for these members:
sentry_asset_bundle.dart:37
Error launching application on Jae-Min’s iPhone.
Exited
Android:
Launching lib/main.dart on Pixel 7 in debug mode...
main.dart:1
: Error: The non-abstract class 'SentryAssetBundle' is missing implementations for these members:
sentry_asset_bundle.dart:37
- AssetBundle.loadStructuredBinaryData
Try to either
- provide an implementation,
- inherit an implementation from a superclass or mixin,
- mark the class as abstract, or
- provide a 'noSuchMethod' implementation.
class SentryAssetBundle implements AssetBundle {
^^^^^^^^^^^^^^^^^
: Context: 'AssetBundle.loadStructuredBinaryData' is defined here.
asset_bundle.dart:110
Future<T> loadStructuredBinaryData<T>(String key, FutureOr<T> Function(ByteData data) parser) async {
^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception
2
FAILURE: Build failed with an exception.
* Where:
Script '..../flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1154
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '..../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.
* Get more help at https://help.gradle.org
BUILD FAILED in 30s
Exception: Gradle task assembleDebug failed with exit code 1
Exited
The text was updated successfully, but these errors were encountered:
Platform:
IDE:
split-debug-info and obfuscate (Flutter Android or iOS) or CanvasKit (Flutter Web):
Platform installed with:
Output of the command
flutter doctor -v
below:Doctor summary (to see all details, run flutter doctor -v):
The version of the SDK (See pubspec.lock):
I have the following issue:
I am on beta channel of flutter, and after the most recent upgrade, I can't build on iOS and Android.
The main issue seems to be that 'SentryAssetBundle' is missing implementations for sentry_asset_bundle.dart:37
console logs below:
iOS:
Android:
The text was updated successfully, but these errors were encountered: