是否可以在
Android Studio中为我的APK的调试版和发行版提供不同的清单文件?
通常我不需要这样的东西但是在调试模式下,我的应用程序在不同的用户ID和进程中运行,这在清单中定义.我附加了我的调试清单所具有的差异:
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -1,5 +1,6 @@
package="com.mridang.address"
+ android:sharedUserId="com.mridang.dashclock"
android:versionCode="10"
android:versionName="1.0" >
@@ -14,6 +15,7 @@
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" >
我正在失去理智,它隐藏了调试清单文件并在构建之前将其弹出,如果可能有两个单独的清单,那就太棒了.