简体   繁体   English

应用程序安装失败安装失败,并显示以下消息:无法完成会话:INSTALL_PARSE失败,清单格式错误

[英]Application Installation Failed Installation failed with message Failed to finalize session : INSTALL_PARSE FAILED MANIFEST MALFORMED

I got this pop msg Error, i dont know what to do, i hope someone can help me, i allready tried to seek help everywhere i couldn't find any. 我收到此弹出消息错误,我不知道该怎么办,希望有人可以帮助我,我已经准备在任何找不到的地方寻求帮助。

Here is the warning: Application Installation Failed Installation failed with message Failed to finalize session : INSTALL_PARSE FAILED_MANIFEST MALFORMED: Failed parse during installPackageLI: /data/app/vmd11789010436.tmp/base.apk (at Binary XML file line #34): requires an android:value or android:resource attribute. 警告是:应用程序安装失败安装失败,并显示以下消息:无法完成会话:INSTALL_PARSE FAILED_MANIFEST格式错误:installPackageLI期间解析失败:/data/app/vmd11789010436.tmp/base.apk(在二进制XML文件行#34):需要一个android:value或android:resource属性。

It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing. 可以通过卸载apk的现有版本(如果有)来解决此问题,然后重新安装。 WARNING: Uninstalling will remove.'e the application data! 警告:卸载将删除应用程序数据! Do you want to uninstall the existing application? 您要卸载现有的应用程序吗?

Here is my manifest.xmL. I don't know if i have anything wrong here, i tried 

to search but i could not find the solution. 搜索,但我找不到解决方案。

 <?xml version="1.0" encoding="utf-8"?>
 <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.hfad.imdblogin">

<uses-permission android:name="android.permission.INTERNET" />

<application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">
    <activity android:name=".activities.ActivityLoginPage" />
    <activity android:name=".activities.ActivitySignUp" />

    <meta-data
        android:name="com.facebook.sdk.ApplicationId"
         />

    <activity
        android:name="com.facebook.FacebookActivity"
 android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
        android:label="@string/app_name" />
    <activity android:name=".activities.ActivityHomepage">
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />

            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
    <activity android:name=".activities.CreateAccountActivity" />
    <activity android:name=".activities.AnimeActivity" />
    <activity android:name=".activities.NotificationActivity"
                >
        <intent-filter>
            <action android:name="android.intent.action.MAIN" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>

</manifest>

Your meta-data contains FacebookApplicationId but no Id is provided here: 您的meta-data包含FacebookApplicationId,但此处未提供Id

<meta-data
    android:name="com.facebook.sdk.ApplicationId"/>

And exception is pointing on that part that you didn't provide Id it should be: 而且异常指向您未提供Id那部分,它应该是:

 <meta-data
        android:name="com.facebook.sdk.ApplicationId"
        android:value="Your id here" />

Also check on official Facebook developer page about more info: https://developers.facebook.com/docs/android/getting-started 还要查看Facebook官方开发人员页面以了解更多信息: https : //developers.facebook.com/docs/android/getting-started

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 安装失败,并显示消息INSTALL_PARSE_FAILED_MANIFEST_MALFORMED - Installation failed with message INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 应用程序安装失败错误[INSTALL_PARSE_FAILED_MANIFEST_MALFORMED] - Application Installation failed error [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED] 安装错误:INSTALL_PARSE_FAILED_MANIFEST_MALFORMED如何解决? - Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED how to fix? 由于安装失败:&#39;INSTALL_PARSE_FAILED_MANIFEST_MALFORMED:在 installPackageLI 期间解析失败: - Installation failed due to: 'INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: 安装没有成功。 无法安装应用程序:INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 安装失败,原因是:'null' - Installation did not succeed. The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED Installation failed due to: 'null' 安装没有成功。 无法安装应用程序:INSTALL_PARSE_FAILED_MANIFEST_MALFORMED - Installation did not succeed. The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 当我更新我的手机到 Android 12 时,安装没有成功。 无法安装应用程序:INSTALL_PARSE_FAILED_MANIFEST_MALFORMED - When I Update my Phone to Android 12, Installation did not succeed. The application could not be installed: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 安装错误:INSTALL_PARSE_FAILED_MANIFEST_MALFORMED,在Logcat中寻找Android Studio,但仍然无法解决问题? - Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED, Looked in Logcat for Android Studio but still cant work out the issue? 安装失败,消息为空 - Installation failed with message null Android Studio声明[INSTALL_PARSE_FAILED_MANIFEST_MALFORMED] - Android Studio states [INSTALL_PARSE_FAILED_MANIFEST_MALFORMED]
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM