[英]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.