Merge pull request #2269 from jlipps/master

if installing a remote apk fails, uninstall/rm and retry (fix #2188)