在其他设备上安装时发生错误[INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

时间:2019-02-07 11:22:31

标签: java android android-fragments android-manifest

请帮助我在项目中解决此问题,

我创建的项目最低SDK为4.4 kitkat 在我的OREO OS设备上运行后。

当我在Lollipop OS中的其他设备上运行时 错误信息将会出现 Error Message

控制台中的错误消息

pkg:/data/local/tmp/com.teamcipher.mrfinman.mrfinmanfinal 失败[INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]

$ adb shell pm卸载com.teamcipher.mrfinman.mrfinmanfinal 未知失败(失败-未安装0) 安装APK时出错

我的清单文件

<?xml version="1.0" encoding="utf-8"?>

<uses-sdk
    android:minSdkVersion="11"
    android:targetSdkVersion="15" />

<!-- To auto-complete the email text field in the login form with the user's emails -->
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.READ_PROFILE" />
<uses-permission android:name="android.permission.READ_CONTACTS" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.READ_PHONE_STATE" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.SET_ALARM" />




<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@drawable/ic_launcher"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">
    <receiver android:name="Receiver.Notification_receiver" />
    <receiver android:name="Receiver.Notification_receiver_debt" />
    <receiver android:name="Receiver.Notification_receiver_goal" />
    <receiver android:name="Receiver.Notification_receiver_bills" />

    <service android:name="Services.RealtimeBudgetRemCheck"/>
    <service android:name="Services.BillCheck"/>
    <service android:name="Services.GoalCheck"/>
    <service android:name="Background.background"/>

    <activity
        android:name=".MainActivity"
        android:theme="@style/Theme.MyOwn">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity
        android:name=".Activity_dashboard"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyOwn" />
    <activity
        android:name=".Activity_expense"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyOwn" />
    <activity
        android:name=".Activity_login"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyCustomTheme" />
    <activity
        android:name=".Activity_income"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyOwn" />
    <activity
        android:name=".Activity_editbudgetplan"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyOwn"
        android:windowSoftInputMode="adjustPan" />
    <activity
        android:name=".Activity_add_category"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyOwn" />
    <activity
        android:name=".ActivityRegistration"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyCustomTheme" />
    <activity
        android:name=".ActivityRegistration2"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyCustomTheme" />
    <activity
        android:name=".Activity_myincome"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyOwn" />
    <activity
        android:name=".Activity_transactions"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyOwn" />
    <activity
        android:name=".Activity_my_budget_plan"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyOwn" />
    <activity
        android:name=".Activity_my_goals_add"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyOwn" />
    <activity
        android:name=".Activity_my_debt_add"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyOwn" />
    <activity
        android:name=".Activity_my_bills"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyOwn" />
    <activity
        android:name=".Activity_my_bills_add"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyOwn" />
    <activity
        android:name=".DialogTransactionDetails"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.AppCompat.Light.Dialog.Alert" />
    <activity
        android:name=".Testing"
        android:screenOrientation="portrait" />
    <activity
        android:name=".Activity_set_budget"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyOwn" />
    <activity
        android:name=".Template"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyOwn" />
    <activity
        android:name=".Biller.Activity_dashboard_biller"
        android:theme="@style/Theme.Biller" />
    <activity
        android:name=".Admin.Activity_dashboard_admin"
        android:theme="@style/Theme.Admin" />
    <activity
        android:name=".Activity_forgot_password"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyCustomTheme" />
    <activity
        android:name=".Activity_Confirmation"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyCustomTheme" />
    <activity
        android:name=".Activity_Registration_biller"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyCustomTheme" />
    <activity
        android:name=".Activity_reset_pword"
        android:screenOrientation="portrait"
        android:theme="@style/Theme.MyCustomTheme" />
    <activity android:name=".PopUp.BillPopUp"
        android:theme="@style/Theme.AppCompat.Light.Dialog.Alert"/>

  <!--  <service android:name="Services.FirebaseMessagingServices">
        <intent-filter>
            <action android:name="com.google.firebase.MESSAGING_EVENT"/>
        </intent-filter>
    </service>

    <service android:name="Services.FirebaseInstanceIDServices">
        <intent-filter>
            <action android:name="com.google.firebase.INSTANCE_ID_EVENT"/>
        </intent-filter>
    </service>-->

</application>

0 个答案:

没有答案