• 游客,欢迎来到米坛社区。
    米坛社区是大型中文智能穿戴设备交流社区,在这里交流你的极客思想,共同建造我们的智能世界
    为了更加方便的获取支持与帮助,请加入米坛社区官方QQ频道

求助,关于打包的问题

cmaltosio

LV2
普通成员
UID
2632
2019-06-24
158
70
陕西 西安
Fatal|System.ArgumentException: File 'header.json' or 'version' should exists in the folder with unpacked images. Res-file couldn't be created

在 WatchFace.Program.PackResources(String inputDirectory) 位置 C:\Users\一天\Desktop\mi4\valeronm-amazfitbiptools\WatchFace\Program.cs:行号 206

在 WatchFace.Program.Main(String[] args) 位置 C:\Users\一天\Desktop\mi4\valeronm-amazfitbiptools\WatchFace\Program.cs:行号 89

我就是替换了背景图,并加入了 心率代码

"Activity": {
"Steps": {
"Step": {
"TopLeftX": 72,
"TopLeftY": 199,
"BottomRightX": 120,
"BottomRightY": 213,
"Alignment": "Left",
"Spacing": 2,
"ImageIndex": 47,
"ImagesCount": 10
}
},
"Pulse": {
"TopLeftX": 19,
"TopLeftY": 154,
"BottomRightX": 120,
"BottomRightY": 210,
"Alignment": "Left",
"Spacing": 1,
"ImageIndex": 47,
"ImagesCount": 10
}
},

然后打包出现问题,有高手解释一下么,谢谢
 

glassphone

LV5
🔥社区作者
普通成员
UID
2033
2019-06-21
203
481
打包的时候,把json拖到watchface你这应该是托的文件夹吧
 

buitiencong

LV0
普通成员
UID
4165
2019-06-29
4
0
"Activity": {
"Steps": {
"Step": {
"TopLeftX": 72,
"TopLeftY": 199,
"BottomRightX": 120,
"BottomRightY": 213,
"Alignment": "Left",
"Spacing": 2,
"ImageIndex": 47,
"ImagesCount": 10
}
},
"Pulse": {
"Number":{
"TopLeftX": 19,
"TopLeftY": 154,
"BottomRightX": 120,
"BottomRightY": 210,
"Alignment": "Left",
"Spacing": 1,
"ImageIndex": 47,
"ImagesCount": 10
},
"DelimiterImageIndex": 70
},
 

*这是一则由 Google AdSense 自动推荐的广告,与本站无关,不对其真实性与可靠性负责