如何安装相同的应用程序两次无干扰 [英] How to Install the same app twice without interference
问题描述
我有一个Android应用程序(我们称为X),我想创建第二个应用程序,X2,但根据其他应用程序。因此,我改变了清单应用程序的名称属性为X2还我换了包的名字......但还是当我安装X2,X程序被删除!
我应该改变什么的属性,所以我可以在一台设备可以独立安装这两个应用程序。我工作的eclispe打。
<舱单的xmlns:机器人=http://schemas.android.com/apk/res/android
包=com.company.app1
安卓版code =1
机器人:VERSIONNAME =1.0>
<应用
机器人:allowBackup =真
机器人:图标=@可绘制/ ic_launcher
机器人:标签=@字符串/ app_name1
机器人:主题=@风格/ AppTheme>
后的变化。
<舱单的xmlns:机器人=http://schemas.android.com/apk/res/android
包=com.company.app2
安卓版code =1
机器人:VERSIONNAME =1.0>
<应用
机器人:allowBackup =真
机器人:图标=@可绘制/ ic_launcher
机器人:标签=@字符串/ app_name2
机器人:主题=@风格/ AppTheme>
那么它的工作对其他设备与最近的平台!但无论如何,正确的反应将是你只需要更改名称和应用程序的软件包。
I have an Android app (let's called X), I want to create a second app X2 but based on the other app. So I changed the manifest application name property to X2 also I changed the package name...but still when I install X2, app X is erased!
What properties should I change so I can install the two app independently on one devices. I'm working on eclispe.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.company.app1"
android:versionCode="1"
android:versionName="1.0" >
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name1"
android:theme="@style/AppTheme" >
after change.
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.company.app2"
android:versionCode="1"
android:versionName="1.0" >
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name2"
android:theme="@style/AppTheme" >
Well it worked on other device with more recent platform ! Anyway the proper response will be you just have to change the name and the package of the application.
这篇关于如何安装相同的应用程序两次无干扰的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!