android - How can I have different manifest files for the release and debug versions? -


is possible have different manifest files debug , release versions of apk in android studio?

normally don't have need such such thing in debug mode, applications run in different user id , process , defined in manifest. i've attached diff of debug manifest has:

--- a/androidmanifest.xml +++ b/androidmanifest.xml @@ -1,5 +1,6 @@  <manifest xmlns:android="http://schemas.android.com/apk/res/android"      package="com.mridang.address" +    android:shareduserid="com.mridang.dashclock"      android:versioncode="10"      android:versionname="1.0" >  @@ -14,6 +15,7 @@      <application          android:allowbackup="true"          android:icon="@drawable/ic_launcher" +        android:process="com.mridang.dashclock"          android:label="@string/application_name"          android:theme="@android:style/theme.holo.light.darkactionbar" > 

i'm losing mind stashing debug manifest file , popping before building , if 2 separate manifests possible, great.

create "debug" folder under src/ , put in there: https://github.com/androidfu/now-playing/tree/master/app/src

my "release" manifest in src/main/, i'm pretty sure if needed 2 wholly separate manifest files use src/release/ , src/debug/.


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -