我是靠谱客的博主 无心曲奇,最近开发中收集的这篇文章主要介绍app.json Expecting 'STRING','NUMBER','NULL','TRUE','FALSE','{','[',']', got INVALID的错误,觉得挺不错的,现在分享给大家,希望可以做个参考。
概述
错误如下
app.json代码如下:
{
"pages":[
// "pages/index/index",
// "pages/logs/logs",
"pages/board/board",
"pages/search/search",
"pages/about/about"
],
"window":{
"backgroundTextStyle":
"light",
"navigationBarBackgroundColor":
"#354951",
"navigationBarTitleText":
"西安宙斯网络科技有限公司",
"navigationBarTextStyle":
"white"
},
"tabBar": {
"color":
"#dddddd",
"selectedColor":
"#3cc51f",
"borderStyle":
"",
"backgroundColor":
"#ffffff",
"list": [
{
"pagePath":
"pages/board/board",
"iconPath":
"images/home.png",
"selectedIconPath":
"images/home-actived.png",
"text":
"首页"
},
{
"pagePath":
"pages/search/search",
"iconPath":
"images/search.png",
"selectedIconPath":
"images/search-actived.png",
"text":
"搜索"
},
{
"pagePath":
"pages/about/about",
"iconPath":
"images/profile.png",
"selectedIconPath":
"images/profile-actived.png",
"text":
"关于"
}
]
}
}
删除app.json中的注释
so bug完美解决
最后
以上就是无心曲奇为你收集整理的app.json Expecting 'STRING','NUMBER','NULL','TRUE','FALSE','{','[',']', got INVALID的错误的全部内容,希望文章能够帮你解决app.json Expecting 'STRING','NUMBER','NULL','TRUE','FALSE','{','[',']', got INVALID的错误所遇到的程序开发问题。
如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复