yes, add vim-common to you stage packages … probably it is also needed to use the full path $SNAP/usr/bin/xxd
instead of just xxd
note that it is often helpful to have a second terminal open on the device and run snappy-debug (from the snappy-debug snap) in there while your app starts up … that should give you some insight what failed and why …