Agora-Flutter-SDK icon indicating copy to clipboard operation
Agora-Flutter-SDK copied to clipboard

运行web端报错

Open ZClee128 opened this issue 3 years ago • 3 comments

../../../flutter/.pub-cache/hosted/http%2558%2547%2547mirrors.cnnic.cn%2547dart-pub%2547/iris_event-1.2.0/lib/iris_event.dart:1:8: Error: Not found: 'dart:ffi' import 'dart:ffi' as ffi; ^

: Error: Not found: 'dart:ffi' ../…/impl/api_caller.dart:3 import 'dart:ffi' as ffi; ^

ZClee128 avatar Sep 22 '22 08:09 ZClee128

oving the 'external' keyword or adding a JS interop annotation. external int bytes_per_sample; ^ ../flutter/.pub-cache/hosted/http%2558%2547%2547mirrors.cnnic.cn%2547dart-pub%2547/agora_rtc_engine-6.0.0-rc.2/lib/src/impl/native_iris_api_engine_bindings.dart:1723:16: Error: Only JS interop members may be 'external'. Try removing the 'external' keyword or adding a JS interop annotation. external int num_channels_; ^ ../flutter/.pub-cache/hosted/http%2558%2547%2547mirrors.cnnic.cn%2547dart-pub%2547/agora_rtc_engine-6.0.0-rc.2/lib/src/impl/native_iris_api_engine_bindings.dart:1726:33: Error: Only JS interop members may be 'external'. Try removing the 'external' keyword or adding a JS interop annotation. external ffi.Array<ffi.Int16> data_; ^ ../flutter/.pub-cache/hosted/http%2558%2547%2547mirrors.cnnic.cn%2547dart-pub%2547/agora_rtc_engine-6.0.0-rc.2/lib/src/impl/native_iris_api_engine_bindings.dart:1737:36: Error: Only JS interop members may be 'external'.

ZClee128 avatar Sep 22 '22 10:09 ZClee128

以下是demo报的错 image

ZClee128 avatar Sep 22 '22 10:09 ZClee128

It's so sorry that flutter web is not supported yet on 6.0.0-rc.2

littleGnAl avatar Sep 22 '22 10:09 littleGnAl

It looks like 6.0.0 stable just landed (nice), but also doesn't have web support? Is there a rough timeline for that?

blopker avatar Sep 28 '22 06:09 blopker

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. If you find this problem please file a new issue with the same description, what happens, logs and the output. All system setups can be slightly different so it's always better to open new issues and reference the related ones. Thanks for your contribution.

github-actions[bot] avatar Oct 13 '22 11:10 github-actions[bot]

the same, any updates?

followthemoney1 avatar Nov 03 '22 15:11 followthemoney1

same issue please help

kaushikgodhani avatar Feb 15 '23 04:02 kaushikgodhani

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

github-actions[bot] avatar Apr 28 '23 08:04 github-actions[bot]