Skip to content

I get errors in console when I try to run the app on android emulator #15

@ghost

Description

Hi when I try to run my app with the package I get this error

PS G:\dev\george35mk\Flutter\game_engine2> flutter run
Using hardware rendering with device sdk gphone x86 arm. If you notice graphics artifacts, consider enabling software rendering with
"--enable-software-rendering".
Launching lib\main.dart on sdk gphone x86 arm in debug mode...
/G:/Programs/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.2.0-nullsafety.1/lib/src/utf8.dart:68:33: Error: The getter 'addressOf' isn't defined for the class 'Utf8'.
 - 'Utf8' is from 'package:ffi/src/utf8.dart' ('/G:/Programs/flutter/.pub-cache/hosted/pub.dartlang.org/ffi-0.2.0-nullsafety.1/lib/src/utf8.dart').
Try correcting the name to the name of an existing getter, or defining a getter or field named 'addressOf'.
  String toString() => fromUtf8(addressOf);
                                ^^^^^^^^^
Running Gradle task 'assembleDebug'...   

OS: Windows 10

flutter:

Flutter 2.3.0-24.0.pre • channel dev • https://github.com/flutter/flutter.git
Framework • revision 2b9537c783 (3 months ago) • 2021-06-11 22:11:53 -0700
Engine • revision ddbac024d1
Tools • Dart 2.14.0 (build 2.14.0-188.0.dev)

I run the exact code you have provided in the pub.dev https://pub.dev/packages/flutter_web_gl/example

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions