If you get the icon path wrong for some reason in manifest.toml, the vpk will fail to install with a generic “invalid package” error.
This took us 30+ minutes to figure out. A better behavior would to validate the manifest.toml at build time.
(We had misunderstood that assets/image needs to be in the project’s top directory, not src).
Steps to reproduce:
- Set
iconto@image/something-bogus.png - Build the project. Result:
vpkgfile is generated. - Install the vpkg to the device.
Expected result:
- Build, or install/update, fails with a very specific error, e.g. “icon @image/something-bogus.png not found”
Actual result:
- Cryptic error in logs
Example error:
2025-12-17 15:22:12.406 [warning] Failed: Installing/Updating '/tmp/app_armv7.vpkg' ...error (Package is invalid)