安装我的应用程序时未安装应用程序

时间:2012-04-26 11:56:13

标签: android

我已经创建了我的应用程序,第一次在手机上试用它工作正常,但随后我将其取消并重新安装,它给了我这个错误应用程序未安装 这是我的mainfest.xml ..我认为它与我的mainfest文件有关...我已经阅读了与我的问题相关的问题,但我找不到任何重复的活动。

    <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.zegoggles.smssync"
    android:debuggable="true"
    android:description="@string/app_description"
    android:installLocation="auto"
    android:versionCode="1406"
    android:versionName="1.4.5" >

    <application
        android:name="App"
        android:backupAgent="PreferenceBackupAgent"
        android:description="@string/app_description"
        android:icon="@drawable/ic_launcher"
        android:label="@string/app_name" >
        <activity
            android:name="SmsSync"
            android:label="@string/app_name"
            android:launchMode="singleInstance" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>

            <!-- handle gmail oauth callbacks -->
            <intent-filter>
                <action android:name="android.intent.action.VIEW" />
                <action android:name="android.intent.action.EXTERNAL_APPLICATIONS_AVAILABLE" />

                <category android:name="android.intent.category.DEFAULT" />
                <category android:name="android.intent.category.BROWSABLE" />

                <data
                    android:host="gmail"
                    android:scheme="smssync" />
            </intent-filter>
        </activity>
        <activity
            android:name="com.paypal.android.MEP.PayPalActivity"
            android:configChanges="keyboardHidden|orientation"
            android:theme="@android:style/Theme.Translucent.NoTitleBar" />

        <service
            android:name="SmsBackupService"
            android:exported="false" />
        <service
            android:name="SmsRestoreService"
            android:exported="false" />

        <receiver
            android:name="SmsBroadcastReceiver"
            android:enabled="true" >
            <intent-filter>
                <action android:name="android.provider.Telephony.SMS_RECEIVED" />
                <action android:name="android.intent.action.BOOT_COMPLETED" />
            </intent-filter>
        </receiver>
        <receiver
            android:name="BackupBroadcastReceiver"
            android:enabled="true" >
            <intent-filter>
                <action android:name="com.zegoggles.smssync.BACKUP" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </receiver>

        <meta-data
            android:name="com.google.android.backup.api_key"
            android:value="AEdPqrEAAAAI15zt2oJAvxMu4s5SaHisDyYsduKd2jq_-XnAug" />
    </application>

    <uses-permission android:name="android.permission.READ_SMS" />
    <uses-permission android:name="android.permission.WRITE_SMS" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="android.permission.WRITE_CONTACTS" />
    <uses-permission android:name="android.permission.RECEIVE_SMS" />
    <uses-permission android:name="android.permission.WAKE_LOCK" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.READ_CALENDAR" />
    <uses-permission android:name="android.permission.WRITE_CALENDAR" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.BACKUP" />

    <uses-feature
        android:name="android.hardware.telephony"
        android:required="true" />
    <uses-feature
        android:name="android.hardware.wifi"
        android:required="false" />

    <uses-sdk
        android:minSdkVersion="3"
        android:targetSdkVersion="14" />

    <supports-screens android:smallScreens="true" />

</manifest>

1 个答案:

答案 0 :(得分:1)

您是否尝试了此question中的建议?

我首先尝试的是:从您的设备手动卸载应用程序,然后重新安装。也许它只是因为某种原因而没有被删除。