No snaps installed on a new ubuntu core port (kernel, gadget)

checking: https://errors.ubuntu.com/oops/dba6d668-9f32-11e8-b613-fa163e0ec2f1 shows that your error seems to be:

ERROR snap "gadget" supported architectures (amd64) are incompatible with this system (armhf)

make sure to build it for armhf …

in older snapcraft this requires the --target-arch switch, in newer you need to set the proper “architectures:” with “build-on” and “run-on” in your snapcraft.yaml:

here is an example where i use the new architectures setup:

https://github.com/ogra1/pi-kiosk-gadget/blob/master/snapcraft.yaml#L11