androidstudio2 variant multiple apk
<p>I'd like to have multiple apk files based on the same source so I can have a working and development version on my device.  I thought that build variants and flavors would give me this but what I'm seeing is that when I select one variant the apk file for the other is replaced.  I've added this to the app build.gradle file and my build variant window allows me to select phoneDebug or tabletDebug.</p>

<pre><code>productFlavors {
    phone {
        applicationId "com.ebookfrenzy.builddemo.app.phone"
        versionName "1.0-phone"
    }
    tablet {
        applicationId "com.ebookfrenzy.builddemo.app.tablet"
        versionName "1.0-tablet"
    }
}
</code></pre>

<p>I created directories under the app/src called tablet/res/values and phone/res/values and have different strings.xml files in each and my layout xml file references the string hello_world which is different in each string file.  All of this is working: when I select the phoneDebug or the tabletDebug variants I get the appropriate hello string.<br>
I see app-tablet-debug-unaligned.apk or app-phone-debug-unaligned.apk in the build directory depending on what variant I have selected.  But when I select the one variant the other disappears.<br>
When I run one variant that apk appearantly is installed over the other -- at least there is only one BuildDemo installed in the apps on my device.<br>
How can I get separate phoneDebug and tabletDebug apks installed on my device?<br>Thanks.<br>Steve S.</p>