HarmonyOS赋能Flutter引入适配版本的flutter_inappwebview编译失败
编译异常日志:
ERROR: ArkTS:ERROR File: /~/~/.pub-cache/git/flutter_inappwebview-1ad1f9ff58c64bf0ccbde464f45608d0ee0e70b5/flutter_inappwebview_ohos/ohos/src/main/ets/components/plugin/webview/InAppWebViewManager.ets:18:10
Module '"@ohos/flutter_ohos/src/main/ets/plugin/platform/PlatformView"' has no exported member 'Params'. Did you mean to use 'import Params from "@ohos/flutter_ohos/src/main/ets/plugin/platform/PlatformView"' instead?
ERROR: ArkTS:ERROR File: /~/~/.pub-cache/git/flutter_inappwebview-1ad1f9ff58c64bf0ccbde464f45608d0ee0e70b5/flutter_inappwebview_ohos/ohos/src/main/ets/components/plugin/webview/FlutterWebViewFactory.ets:84:5
Type 'FlutterWebView' is not assignable to type 'PlatformView'.
Types of property 'getView' are incompatible.
Type '() => WrappedBuilder<[Params]>' is not assignable to type '() => DVModel'.
COMPILE RESULT:FAIL {ERROR:7 WARN:23}
详细问题地址:https://gitee.com/openharmony-sig/flutter_inappwebview/issues/IA8EXI?from=project-issue
HarmonyOS
赞
收藏 0
回答 1
待解决
相关问题
HarmonyOS flutter_inappwebview问题
115浏览 • 1回复 待解决
flutter项目flutter_inappwebview不支持HarmonyOS
156浏览 • 1回复 待解决
HarmonyOS flutter_inappwebview页面加载内容偏小
68浏览 • 1回复 待解决
HarmonyOS Flutter版本适配问题
99浏览 • 1回复 待解决
能提供关于Flutter适配HarmonyOS的相关资料吗?
466浏览 • 1回复 待解决
flutter适配工作有哪些以及版本升级问题
354浏览 • 1回复 待解决
HarmonyOS flutter版本过低
57浏览 • 1回复 待解决
HarmonyOS版本Flutter嵌入APP的方式如何调试flutter代码
134浏览 • 1回复 待解决
HarmonyOS 编译flutter报错
136浏览 • 1回复 待解决
flutter适配HarmonyOS图片压缩的库
264浏览 • 1回复 待解决
HarmonyOS flutter如何适配折叠屏
172浏览 • 1回复 待解决
HarmonyOS flutter框架的url_launcher的适配
130浏览 • 1回复 待解决
flutter HarmoneyOS 版本的 SDK 安装指导
362浏览 • 1回复 待解决
HarmonyOS flutter三方plugin适配进展
126浏览 • 1回复 待解决
HarmonyOS flutter_keyboard_visibility适配了吗
123浏览 • 1回复 待解决
HarmonyOS采用Flutter开发,如何适配折叠屏?
180浏览 • 1回复 待解决
HarmonyOS XCode 15.3无法编译flutter engine
167浏览 • 1回复 待解决
flutter_slider_drawer适配HarmoneyOS版
177浏览 • 1回复 待解决
HarmonyOS flutter video_player库适配了吗
172浏览 • 1回复 待解决
HarmonyOS 关于flutter项目编译多plugin工程,编译慢的问题
741浏览 • 1回复 待解决
HarmonyOS flutter_flutter项目进展
88浏览 • 1回复 待解决
对于引入适配版本的flutter_inappwebview编译失败,FlutterEngine构建产物是否是最新的,如果不是请下载最新的再重新编译和运行。下载地址:https://docs.qq.com/sheet/DUnljRVBYUWZKZEtF?tab=BB08J2