Skip to content

Local Run Build Fails with 'UnmodifiableUint8ListView' not found #4458

@laughingbuddha24

Description

@laughingbuddha24

Can we access your project?

  • I give permission for members of the FlutterFlow team to access and test my project for the sole purpose of investigating this issue.

Current Behavior

Local run build is failing with Android Studio on Windows 11 with the following errors:

Launching lib\main.dart on sdk gphone x86 in debug mode...
Upgrading build.gradle
Running Gradle task 'assembleDebug'...
../../../../Local/Pub/Cache/hosted/pub.dev/win32-5.4.0/lib/src/guid.dart:32:9: Error: Type 'UnmodifiableUint8ListView' not found.
final UnmodifiableUint8ListView bytes;
^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../Local/Pub/Cache/hosted/pub.dev/win32-5.4.0/lib/src/guid.dart:32:9: Error: 'UnmodifiableUint8ListView' isn't a type.
final UnmodifiableUint8ListView bytes;
^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../Local/Pub/Cache/hosted/pub.dev/win32-5.4.0/lib/src/guid.dart:52:17: Error: Method not found: 'UnmodifiableUint8ListView'.
return Guid(UnmodifiableUint8ListView(guid));
^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../Local/Pub/Cache/hosted/pub.dev/win32-5.4.0/lib/src/guid.dart:56:31: Error: Method not found: 'UnmodifiableUint8ListView'.
factory Guid.zero() => Guid(UnmodifiableUint8ListView(Uint8List(16)));
^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../Local/Pub/Cache/hosted/pub.dev/win32-5.4.0/lib/src/guid.dart:100:17: Error: Method not found: 'UnmodifiableUint8ListView'.
return Guid(UnmodifiableUint8ListView(Uint8List.fromList(guidAsBytes)));
^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../Local/Pub/Cache/hosted/pub.dev/archive-3.4.10/lib/src/bzip2/bzip2.dart:5:7: Error: Method not found: 'UnmodifiableUint8ListView'.
UnmodifiableUint8ListView(Uint8List(0));
^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../Local/Pub/Cache/hosted/pub.dev/archive-3.4.10/lib/src/bzip2/bzip2.dart:7:7: Error: Method not found: 'UnmodifiableUint32ListView'.
UnmodifiableUint32ListView(Uint32List(0));
^^^^^^^^^^^^^^^^^^^^^^^^^^
../../../../Local/Pub/Cache/hosted/pub.dev/archive-3.4.10/lib/src/bzip2/bzip2.dart:9:7: Error: Method not found: 'UnmodifiableInt32ListView'.
UnmodifiableInt32ListView(Int32List(0));
^^^^^^^^^^^^^^^^^^^^^^^^^
Target kernel_snapshot_program failed: Exception

FAILURE: Build failed with an exception.

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

Process 'command 'C:\Users\Dom\AppData\Roaming\FlutterFlow\flutterflow\flutter\bin\flutter.bat'' 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 14s
Running Gradle task 'assembleDebug'... 15.0s
Error: Gradle task assembleDebug failed with exit code 1

Expected Behavior

I expect the app to load in the Android Studio emulator

Steps to Reproduce

  1. go to Local Run
  2. select a device
  3. click Test

Reproducible from Blank

  • The steps to reproduce above start from a blank project.

Bug Report Code (Required)

IT4Skcrq2ItNvttZ+KXqdcAxnSQWOUA5aLgriOtqEBI3faKvELNyXOjASEhVXd+/TAl2Ilv9nTk00NKOv/zpCOQHAyyBGYBMzLtyVD3gcEatMsWLOpewXXR9L8VVJEuVyJ6Jnx17HMhoV14hwV2yOe6taC3fGZTtOTANPP+hIdnLpHDlAi+6Xn0Jg1ZSfCvr

Visual documentation

Screenshot 2024-10-23 120043

Environment

- FlutterFlow version: 5.0.8
- Platform: Android
- Browser name and version: n/a
- Operating system and version affected: Windows 11 Home

Additional Information

This is a breaking issue that has halted development as we can't test any new work. Please assign the highest priority.

Metadata

Metadata

Assignees

Labels

status: needs triageA potential issue that has not been confirmed as a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions