Failed to verify

This issue is based on a comment by @pserwylo in #727 (comment 13418848) In current master @pserwylo gets the following on Moto X 2nd Gen, Android 5.0.

  • View app details for an uninstalled app
  • Click "Install" button in main view
  • Get an "... failed to verify" dialog message.

This is potentially due to ApkCache.copyApkFromCacheToFiles() falling over when trying FileUtils.copyFile().

I was not able to reproduce this on Nexus 6P (Android 6) and Sony Xperia Z3 (Cynogenmod 12.1/Android 5.1).

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information