调用了高德地图SDK,项目本身没有开启多线程。

出现问题的地方在

Unity 打包Android 提示XX Can only be called from the main thread

一个写在引用项目中的事件的回调。

控制变量法,最后找出原因:

Unity 打包Android 提示XX Can only be called from the main thread

development Build 勾勾去掉。

具体原因查了关于 development Build 相关文档,没有提及线程方面。

 

 

 

相关文章:

  • 2021-03-29
  • 2021-12-08
  • 2021-06-20
  • 2022-01-21
  • 2021-05-31
  • 2021-11-05
  • 2021-05-11
猜你喜欢
  • 2021-08-28
  • 2021-04-15
  • 2021-06-18
  • 2022-02-07
  • 2021-06-26
  • 2022-01-18
  • 2022-01-09
相关资源
相似解决方案