3257关注9399浏览
Error: 缺少文件, error: selectedIconPath=, file not found
如图怎么破???
为什么没法上传????
代码如下:
"pages":[
"pages/you/you",
"pages/my/my",
"pages/hello/hello",
"pages/world/world",
"pages/index/index",
"pages/logs/logs"
],
"window":{
"navigationBarBackgroundColor": "#000",
"navigationBarTitleText": "小程序",
"backgroundColor": "#000000",
"backgroundTextStyle": "black",
"enablePullDownRefresh": true,
"onReachBootomDistance":"50"
},
"tabBar": {
"color": "#000000",
"selectedColor": "#3367D6",
"backgroundColor": "#600000",
"borderStyle": "black",
"list": [
{
"pagePath": "pages/index/index",
"text": "搜索",
"iconPath": "img/刷新.png",
"selectedIconPath": "img/搜索.png"
},
{
"pagePath": "pages/you/you",
"text": "你的",
"iconPath": "img/刷新.png",
"selectedIconPath": "img/群组.png"
},
{
"pagePath": "pages/my/my",
"text": "我的",
"iconPath": "img/消息中心.png",
"selectedIconPath": ""
},
{
"pagePath": "pages/hello/hello",
"text": "你好",
"iconPath": "img/刷新.png",
"selectedIconPath": "img/icon-weixin.png"
},
{
"pagePath": "pages/world/world",
"text": "世界",
"iconPath": "img/刷新.png",
"selectedIconPath": "img/icon-earth.png"
}
]
},
"debug":true
}
-
至过去的我
2044人对此回答表示赞同
我是未来的你,你现在是不是在年找寻小程序答案。你不要感觉诧异,给你来信原因,就是让你不在后悔。今天去学习如何推广小程序,相信......点击查看更多> -
Asha
7人对此回答表示赞同
提示是找不到该文件,你看一下这个图片是否存在,或者检查路径是否正确
展开78回复分享发布于 6年前评论(8)
收起评论
已经处理好了,就是不知道哪里出了问题,我重写了一份代码
我打开你的代码片段是这样的
我重写了一份一摸一样的代码,运行和上传完全没问题
啊?。。。那怎么搞?
你的代码片段不能用喔
wechatide://minicode/LQ8VxRmr7iQE
那麻烦提供代码片段,方便定位问题
图片是存在的,而且我模拟器都能显示,就是无法上传。谢谢帮助~~~~