Agora-Flutter-SDK
Agora-Flutter-SDK copied to clipboard
运行web端报错
../../../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; ^
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'.
以下是demo报的错

It's so sorry that flutter web is not supported yet on 6.0.0-rc.2
It looks like 6.0.0 stable just landed (nice), but also doesn't have web support? Is there a rough timeline for that?
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.
the same, any updates?
same issue please help
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.