微信开发者工具
开发工具热更新不好用
unity 导出的微信小游戏,运行不一会儿(甚至十几秒)就会崩溃,我以为是内存问题,然后优化了一些资源和代码,但是还是会崩溃,今天用真机调试测试,发现不会触发崩溃,这是内存限制还是代码层面的问题,还是微信开发工具的问题啊? [图片]
使用微信开发者工具 里面 自动化测试的录制回放功能,录制完,执行回放,模拟器一动不动,但是脚本提示执行成功。。。操作过程和效果完全不可见 [图片]
[图片] [图片] 升级到最新的版本之后, 接口数据 开启mock 就会报错这个
{ "pages": [ "pages/home/index", "pages/book-list/index", "pages/book-detail/index", "pages/sell-book/index", "pages/cart/index", "pages/order/index", "pages/profile/index", "pages/location/index" ], "windowBackgroundTextStyle": "light", "navigationBarBackgroundColor": "#ffffff", "navigationBarTextStyle": "black", "navigationBarTitleText": "Book Bazaar", "backgroundColor": "#eeeeee", "backgroundTextStyle": "light", "tabBar": { "color": "#8a8a8a", "selectedColor": "#ff5a5a", "backgroundColor": "#ffffff", "borderStyle": "black", "list": [ { "pagePath": "pages/home/index", "text": "首页", "iconPath": "resources/icon/home.png", "selectedIconPath": "resources/icon/home-active.png" }, { "pagePath": "pages/cart/index", "text": "购物车", "iconPath": "resources/icon/cart.png", "selectedIconPath": "resources/icon/cart-active.png" }, { "pagePath": "pages/profile/index", "text": "我的", "iconPath": "resources/icon/mine.png", "selectedIconPath": "resources/icon/mine-active.png" } ] } } [ app.json 文件内容错误] app.json: ["tabBar"]["list"][0]["iconPath"]: "resources/icon/home.png" not found ["tabBar"]["list"][0]["selectedIconPath"]: "resources/icon/home-active.png" not found ["tabBar"]["list"][1]["iconPath"]: "resources/icon/cart.png" not found ["tabBar"]["list"][1]["selectedIconPath"]: "resources/icon/cart-active.png" not found ["tabBar"]["list"][2]["iconPath"]: "resources/icon/mine.png" not found ["tabBar"]["list"][2]["selectedIconPath"]: "resources/icon/mine-active.png" not found(env: Windows,mp,1.06.2412050; lib: 3.7.11) 这个是说我这些地方错了 [图片]所有东西我都有,不知道哪里错了。
就更换了台服务器,网页打开好好的,小程序打不开。最开始第一次打开了,后面就无法打开了,是做了啥限制啊...
我使用HbuilderX运行微信模拟器,开发者工具上,代码调试调用接口是正常的,当我用真机调试,手机扫码测试我的接口,每一个接口都爆后端接口异常,也没有网后端发请求,这是什么问题
我不会有没有大神可以帮忙的
[图片][图片]
+ miniprogram-ci upload --pt miniGame --pp C:/Gala/WXMiniGame/tempProjectPath/minigame --pkp C:/Gala/WXMiniGame/private.xxxxxxxxx.key --appid xxxxxxxxxxx --uv 3.0.0 -r 1 --enable-es6 true 14:55:50 [error] 20003 Error: request failed, errCode: -1, errMsg: inner get result of the cos-upload fail with errcode: 80200, errmsg: subpackage __FULL__ source size 30873KB exceed max limit 4096KB 14:55:50 CodeError: Error: request failed, errCode: -1, errMsg: inner get result of the cos-upload fail with errcode: 80200, errmsg: subpackage __FULL__ source size 30873KB exceed max limit 4096KB 14:55:50 at innerUpload (C:\Gala\huawei\Unity\2.nodejs\nodejs\node_modules\miniprogram-ci\dist\ci\upload.js:1:4257) 14:55:50 at processTicksAndRejections (node:internal/process/task_queues:96:5) 14:55:50 at async upload (C:\Gala\huawei\Unity\2.nodejs\nodejs\node_modules\miniprogram-ci\dist\ci\upload.js:1:1052) 14:55:50 at async Object.<anonymous> (C:\Gala\huawei\Unity\2.nodejs\nodejs\node_modules\miniprogram-ci\dist\utils\report.js:1:1426) 14:55:50 at async run (C:\Gala\huawei\Unity\2.nodejs\nodejs\node_modules\miniprogram-ci\dist\cli\index.js:1:10619) { 14:55:50 code: 20003 14:55:50 }
插件版本一直只有11.2.1的,没有最新的版本。导致使用git提交代码时会有报错弹窗 [图片]
[图片] https://www.zbzxkt.com/static/mnkh?examId=Da3a1a1ea7bfc473798ae6a6fd7f81f28 我是开发者,这调转不过来。还是怎了。一直白屏。应该怎么测试。 'appId':"wxae3d75878f0f0068",
开发者工具 1.06.2412050 在component里面通过 this. 完全不会提示behavior里面的方法,只能去behavior那边拷贝方法名过来,而且也没办法点击this.xxx跳转到behavior的方法里面去
这是配置的开发环境的测试地址 https://www.zbzxkt.com/static/mnkh?examId=Da3a1a1ea7bfc473798ae6a6fd7f81f28
开发者工具版本号 [图片] 操作系统 windows10 开发者工具界面 [图片]
(1.06.2503122win32-x64)版本使用readFile()无法完成base64转换,但是同样的代码1.06.2503102版本支持报错errMsg: "readFile:fail http://tmp/E9cQQ81D5afg78a864af66ed1a2f3e8d23631c750319.png not found"}(env: Windows,mp,1.06.2503122; lib: 3.7.10 wx.getFileSystemManager().readFile({ filePath, encoding: 'base64', success: res => { // 直接返回Base64字符串,不添加前缀 resolve(res.data); }, fail: err => { console.error('读取文件失败', err); reject(err); }
[图片]
[图片]
我都把文件夹全删了,app.jos的对应字段也删了、缓存也清了,还是报错,是不是只能全部重做了?[图片]
Page({ navigateTo: function(e) { const url = e.currentTarget.dataset.url; wx.navigateTo({ url: url }); }, /** * 页面的初始数据 */ data: { emotionTestUrl: "https://www.yibiaoda.com/r/y4lqq" // 情绪测试题的URL }, navigateToEmotionTest: function() { wx.navigateTo({ url: this.data.emotionTestUrl }); },
小程序助手
帮助小程序相关成员在手机端更方便、及时地管理小程序
小程序助手
扫码体验
你好,暂时可以把基础库切回到3.7.8使用。这里的错误原因这边还在排查中。