Installation failed with message INSTALL_FAILED_VERIFICATION_TIMEOUT
<p>I've got clean install of <code>Android Studio 2.1.2</code>. Just installed and run sample project (<code>EmPubLite</code>) from <a href="https://commonsware.com/Android" rel="nofollow noreferrer">this</a> book and nothing else.</p>

<p>Strange thing is that when I run app on emulator everything is fine. Android Studio is deploying apk to emulator, runs it and successfully connects to the process.
But when I'm trying to run same app on the device, I've got this error message:</p>

<p><a href="https://i.stack.imgur.com/556OS.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/556OS.png" alt="error message"></a></p>

<p>And this error in the Android Studio console:</p>

<pre><code>Failure [INSTALL_FAILED_VERIFICATION_TIMEOUT]

Error while Installing APK
</code></pre>

<p><a href="https://i.stack.imgur.com/tUXeV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tUXeV.png" alt="error in the console"></a></p>

<p>Despite the fact that app gets installed and successfully runs, Android Studio can't connect to the process as it thinks there is an error. If I click on the <code>"OK"</code> button, app is uninstalled and than again installed with the same error.</p>

<p>I've try to install app manually, through the console and if I run</p>

<pre><code>adb shell pm install -r "/data/local/tmp/com.commonsware.empublite"
</code></pre>

<p>I'm getting the same error (that may mean that the problem not in the Android Studio), but (!) when I run:</p>

<pre><code>adb install -r add-debug.apk
</code></pre>

<p>app is installed without any errors!</p>

<p>Moreover, the same problem appears with any sample-project that can be found on the internet.</p>

<p>I've started to googling and didn't find anything useful regarding <strong>[INSTALL_FAILED_VERIFICATION_TIMEOUT]</strong>.</p>

<p>I have <code>Android 4.4.4</code> on the device, if it matters.</p>

<p>How can I workaround this issue?</p>