框架类型 | 问题类型 | 终端类型 | 微信版本 | 基础库版本 |
---|---|---|---|---|
小程序 | Bug | 工具 | 7.0.19 | 2.15.0 |
因需要 使用wx.getUserProfile API,最低基础库版本必须是2.15.0,但是会报错“WebAssembly.Memory(): could not allocate memory” ,使用基础版本2.14.4不会报错,但是不支持最新登录API
网友回复
年轻乄霸道:
版本2.15.0的有问题,只能使用2.14.4才不会报这个错,这跟wx.getUserProfile API没关系的!
解决建议:把开发工具更新至最新,使用2.16.. 的版本号试试!!!