Question How can I fix this issue when making a theme?

He5am2099

Well-known member
Joined
Jan 31, 2020
Messages
560
Likes
530
Points
103
#1
Fatal|System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Resources.Image.Writer.WriteImage() in C:\Users\??\Desktop\mi4\valeronm-amazfitbiptools_mi4_res\Resources\Image\Writer.cs:line 313 at Resources.Image.Writer.Write(Bitmap image, Int32 index, HeaderObj header) in C:\Users\??\Desktop\mi4\valeronm-amazfitbiptools_mi4_res\Resources\Image\Writer.cs:line 79 at Resources.Models.Image.WriteTo(Stream stream, Int32 index, HeaderObj header) in C:\Users\??\Desktop\mi4\valeronm-amazfitbiptools_mi4_res\Resources\Models\Image.cs:line 21 at Resources.Writer.Write(List`1 resources, List`1 Headers) in C:\Users\??\Desktop\mi4\valeronm-amazfitbiptools_mi4_res\Resources\Writer.cs:line 38 at Resources.FileWriter.Write(FileDescriptor descriptor) in C:\Users\??\Desktop\mi4\valeronm-amazfitbiptools_mi4_res\Resources\FileWriter.cs:line 32 at WatchFace.Program.PackResources(String inputDirectory) in C:\Users\??\Desktop\mi4\valeronm-amazfitbiptools_mi4_res\WatchFace\Program.cs:line 273 at WatchFace.Program.Main(String[] args) in C:\Users\??\Desktop\mi4\valeronm-amazfitbiptools_mi4_res\WatchFace\Program.cs:line 130
 
Joined
Feb 21, 2020
Messages
21
Likes
17
Points
8
#2
You can't make resources for Mi Band 5 because you are using tool for Mi Band 4.
 

Trusted Store

Members online

Our Telegram Channel

Which color of official strap would you like to buy for your Mi Band 3?

  • Black

    Votes: 2,156 52.8%
  • Deep Blue

    Votes: 1,197 29.3%
  • Redish Orange

    Votes: 727 17.8%

Forum statistics

Threads
2,440
Messages
40,591
Members
211,870
Latest member
TeaRex
Top