+1,一样的问题,解决了么
真机调试报错accessSync fail accessSync?accessSync fail accessSync:fail no such file or directory, access '/storage/emulated/0/Android/data/com.tencent.mm/MicroMsg/wxanewfiles/a060f499b20c32406df574f3e0b7bed7/miniprogramLog/log2' [图片]
2022-12-05+1,我也有这个问题,请问解决了么
安卓调试,报错?[图片] WAServiceMainContext.js:1 [wxapplib]] [LogManagerwxb9d033a227d30766]] accessSync fail accessSync:fail no such file or directory, access '/storage/emulated/0/Android/data/com.tencent.mm/MicroMsg/wxanewfiles/2fbe01503bf123325797fe2ef8741f01/miniprogramLog/log2' Error: accessSync:fail no such file or directory, access '/storage/emulated/0/Android/data/com.tencent.mm/MicroMsg/wxanewfiles/2fbe01503bf123325797fe2ef8741f01/miniprogramLog/log2' at i (https://lib/WAServiceMainContext.js:1:1091355) at CS (https://lib/WAServiceMainContext.js:1:1771073) at https://lib/WAServiceMainContext.js:1:1771904 at d (https://lib/WAServiceMainContext.js:1:364348) at https://lib/WAServiceMainContext.js:1:364686 at https://lib/WAServiceMainContext.js:1:1772692 at d (https://lib/WAServiceMainContext.js:1:364348) at https://lib/WAServiceMainContext.js:1:364686 at https://lib/WAServiceMainContext.js:1:1772932 at d (https://lib/WAServiceMainContext.js:1:364348) {"0":"wxfile://usr/miniprogramLog/log2"}
2022-12-05那个P是大写的吧,我跟你报的错不一样啊, MiniProgramError e.setData is not a function TypeError: e.setData is not a function at setData (pages/qiandao/index.js:355:16)
调用ctx.takePhoto时报错,ctx.takephoto is not a functionhttps://developers.weixin.qq.com/miniprogram/dev/component/camera.html
2022-12-05+1,请问解决了么
wx.chooseMedia(),设置了 camera: 'front' 不能打开前置摄像头?API: wx.chooseMedia() 微信版本号:8.0.28 基础库版本号:2.26.1 手机:OnePlus 8T if (wx.chooseMedia) { wx.chooseMedia({ count: 1, mediaType: ['image'], sizeType: ["compressed"], sourceType: ["camera"], camera: 'front', success(res) { console.log(res) }, fail(err) { console.log(err) } }); } else { uni.showModal({ title: '提示', content: '当前微信版本过低,无法使用该功能,请升级到最新微信版本后重试。', showCancel: false }) } 设置了 sourceType: ["camera"], camera: 'front', 但是并没有打开前置摄像头,而是打开了后置摄像头。
2022-10-19我也和你差不多的问题,请问解决了么
wx.chooseMedia camera 无效?wx.chooseMedia 的 camera 参数没有生效 wx.chooseImage({ count: 1, camera: 'front', sourceType: ['camera'], success: (e) => { resolve(e.tempFilePaths); }, fail: (e) => { reject(e.errMsg); } });
2022-10-19