我的应用程序出现问题,当我向某人发送APK时,安装该应用程序的唯一方法是卸载前一个应用程序。在类似的应用程序上安装其他应用程序工作正常,只需使用此应用程序。这很关键,因为我们假设应用程序有更新,我不希望用户在安装新版本之前必须卸载以前的版本,并且应该自动覆盖。
以下是清单文件
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.dooba.beta"
android:versionCode="1"
android:versionName="1.0" >
<!-- for card.io card scanning -->
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-feature android:name="android.hardware.camera" android:required="false" />
<uses-feature android:name="android.hardware.camera.autofocus" android:required="false" />
<!-- for most things, including card.io & paypal -->
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-sdk
android:minSdkVersion="14"
android:targetSdkVersion="19" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<application
android:name="com.dooba.beta.IntegratingFacebookTutorialApplication"
android:allowBackup="true"
android:largeHeap = "true"
android:icon="@drawable/logo3"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name="com.dooba.beta.LoginActivity"
android:label="@string/app_name"
android:launchMode="singleTop"
android:screenOrientation="portrait"
android:theme="@android:style/Theme.Holo.Light.NoActionBar" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity
android:name="com.dooba.beta.UserDetailsActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/CustomActionBarTheme">
</activity>
<activity
android:name="com.dooba.beta.EventsActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/CustomActionBarTheme">
</activity>
<activity
android:name="com.dooba.beta.CasualEventsActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/CustomActionBarTheme"
>
<meta-data android:name="android.support.UI_OPTIONS"
android:value="splitActionBarWhenNarrow" />
</activity>
<activity
android:name="com.dooba.beta.CultureEventsActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/CustomActionBarTheme">
</activity>
<activity
android:name="com.dooba.beta.EntertainmentEventsActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/CustomActionBarTheme">
</activity>
<activity
android:name="com.dooba.beta.introActivity"
android:label="@string/app_name"
android:screenOrientation="portrait"
android:theme="@style/CustomActionBarTheme">
</activity>
<activity
android:name="com.facebook.LoginActivity"
android:label="@string/app_name"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />
<meta-data
android:name="com.facebook.sdk.ApplicationId"
android:value="@string/app_id" />
<activity
android:name="com.dooba.beta.MoodActivity"
android:screenOrientation="portrait"
android:theme="@style/CustomActionBarTheme">
</activity>
<activity
android:name="com.dooba.beta.ProfileChange"
android:screenOrientation="portrait"
android:theme="@style/CustomActionBarTheme">
</activity>
</application>
</manifest>
非常感谢任何帮助。提前谢谢。