Why I got this warning?
WARNING: case of filename ‘C:…\Images/Selected.png’ differs on disk
Why I got this warning?
WARNING: case of filename ‘C:…\Images/Selected.png’ differs on disk
You got that error because you’ve written “Selected.png” in your code, but on your hard drive the case is different. Your current platform may not be cAsE SenSitIve, but many others are.
ok, thanks I fixed that
Exactly. While this display.newImage('Selected.png')
would work on Windows, it would fail on android/iOS, since there Selected.png
and selected.png
are two different files.