问题

Type mismatch: inferred type is MainActivity but FlutterEngine was expected

解决方法

注释 android/app/src/main/AndroidManifest.xml 下的

之前加这句话是因为 测ios的时候有个警告 说项目创建时flutter版本过低了 ,这个问题还有一种解决方法就是完整的升级,按照官方给的文档操作就行了

Type mismatch: inferred type is MainActivity but FlutterEngine was expected相关推荐

  1. 【错误记录】Kotlin 编译报错 ( Type mismatch: inferred type is String? but String was expected )

    文章目录 一.报错信息 二.解决方案 一.报错信息 Google Play 上架要求 Android 的编译版本 和 目标版本都要高于 30 才可以上传 ; 将 Android 的编译版本 和 目标版 ...

  2. Android Studio:Type mismatch: inferred type is Int but Unit was expected

    学安卓第一天 跟着 第一行代码 敲了一个取最大值的函数,在main方法里运行时提示 Type mismatch: inferred type is Int but Unit was expected ...

  3. 【2021-12-22】【Kotlin】Type inference failed. Expected type mismatch: inferred type is HashSet but Set

    类似这样的错误提示: Type inference failed. Expected type mismatch: Inferred type is HashSet<String>? bu ...

  4. Type mismatch: inferred type is T but ViewModel was expected

    发生异常时在ViewModel后面有加一个问号 发生异常时在ViewModel后面有加一个问号 发生异常时在ViewModel后面有加一个问号 发生异常时在ViewModel后面有加一个问号 发生异常 ...

  5. Java异常————argument type mismatch

    今天写程序遇到的错误 Exception in thread "main" java.lang.IllegalArgumentException: argument type mi ...

  6. argument type mismatch问题解决

    argument type mismatch问题解决 type Exception report message description The server encountered an inter ...

  7. Scala error: type mismatch; found : java.util.List[?0] required: java.util.List[B]

    Scala error: type mismatch; found : java.util.List[?0] required: java.util.List[B] 目录 Scala error: t ...

  8. Struts Form中Date类型之“argument type mismatch”错误解决方法

    现象: 当输入页面中含有日期如2008-01-01时,如果Form中对于的字段为Date类型,则会出现"argument type mismatch"错误. 原因: Struts的 ...

  9. 【错误记录】Android 中使用 Kotlin 为 EditText 组件设置文本报错 ( Type mismatch. Required:Editable. Found:String )

    文章目录 一.报错信息 二.解决方案 一.报错信息 在 Android 中使用 Kotlin 开发 , EditText 组件如下 : 布局文件 : <EditTextandroid:id=&q ...

最新文章

  1. 为什么 JSP 还没有被淘汰?
  2. 你不得不知的Safari 4
  3. C# Winform编程ListBox之添加图标
  4. Python脚本导出为exe程序
  5. python list 取重复次数
  6. 力扣(LeetCode)258. 各位相加
  7. POJ - 1475 Pushing Boxes(bfs套bfs)
  8. c语言中函数可以有几个参数,C中子函数最多有几个形参
  9. 关于Java开发需要注意的十二点流程
  10. Fiddler使用AutoResponder进行本地文件和线上文件的映射
  11. Extjs4操作TreeStore处理proxyAjax获取的数据
  12. 相同源代码的html文件在本地和服务器端被浏览器请求时,显示的效果不一样!!!...
  13. 宏基aspire拆机触摸_(图) 宏基 Acer 4741G 完全拆解
  14. minitab学习系列(2)--CPK、PPK案例解析
  15. FastFDS 分布式文件系统
  16. 中职学校计算机基础设施建设,以信息化推动中职学校计算机专业建设.doc
  17. RS485电路及隔离技术(收藏)
  18. c语言 x%2 什么意思,《X》歌词 printf((x%2)?**%d:##%d\n,x);是什么意思?
  19. ewebeditor编辑器解析漏洞
  20. 慧数纵览:日产在华三大工厂将减产30,000辆

热门文章

  1. 12306 快速抢票购票程序
  2. Jenkins ssh 远程启动 nohup
  3. 小白笔记——异常处理基础
  4. fabs linux头文件,fabs(c语言fabs函数用法求精度)
  5. 计算机毕设 SSM+Vue健身管理系统 健身教练预约管理系统 健身知识平台 健身房管理系统Java Vue MySQL数据库 远程调试 代码讲解
  6. 微信开发如何优雅的注入token(2)
  7. 当当图书,这又是何苦。
  8. oracle12c安装过程
  9. matlab怎么求解多元非线性方程组,用matlab求解多元非线性方程组(多个方程组)问题...
  10. +new Date是什么意思?