点击登录

求助,关于打包的问题

cmaltosio

Lv.2
社区会员
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
}
},

然后打包出现问题,有高手解释一下么,谢谢
 
打包的时候,把json拖到watchface你这应该是托的文件夹吧
 
"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 自动推荐的广告,与本站无关,不对其真实性与可靠性负责

Home 首页
Home 资源
News 发现
Account 我的
顶部