0

我创建了我的应用程序,第一次在我的手机上尝试它工作正常,但后来我卸载它并再次安装它,它给了我这个错误 Application not installed here's my 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>
4

1 回答 1

1

您是否尝试过此问题中的建议?

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

于 2012-04-26T12:12:57.787 回答