Slice signatures are inconsistent with android studio default run : <p>I've configured gradle for signing with:</p>

<pre><code>android {
    ...
    signingConfigs{
        debug {
            storeFile file("...");
            storePassword '...'
            keyAlias '...'
            keyPassword '...'
        }
    }
}
</code></pre>

<p>Now when I run the Gradle task installDebug the app is signed and installed correctly and I can run the app as expected. But when I run the app module (android studio default run, which is much preferred for debugging). I get the message:</p>

<pre><code>Failed to finalize session : INSTALL_FAILED_INVALID_APK:
/data/app/vmdl2083307194.tmp/1_slice__ signatures are inconsistent
</code></pre>

<p>This happens even when No apk is yet installed.</p>

<p>I think it has to do with android studio splitting the apk improperly. So if nobody knows how to make it sign correctly a way to keep android studio from splitting the apk will probably also work.</p>
