gpt4 book ai didi

android - 安装应用程序 android 时出现 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 错误

转载 作者:塔克拉玛干 更新时间:2023-11-02 22:51:58 24 4
gpt4 key购买 nike

我在尝试安装我的应用时遇到了 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 错误。

我已经了解了针对此堆栈溢出错误的所有可用解决方案。我的mainfest文件包名没有大写字母。

谁能指出可能是什么问题?

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

<uses-sdk
android:minSdkVersion="17"
android:targetSdkVersion="25" />

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.GET_ACCOUNTS" />
<uses-permission android:name="android.permission.USE_CREDENTIALS" />
<uses-permission android:name="android.permission.CAMERA" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />

<uses-feature android:name="android.hardware.camera" />
<uses-feature android:name="android.hardware.camera.autofocus" />

<application
android:name="com.punchtech.AppController"
android:allowBackup="true"
android:icon="@mipmap/new_logo"
android:label="@string/app_name"
android:theme="@style/LoginTheme">

<activity
android:name="com.punchtech.login_signup.MainActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>

<activity android:name="com.punchtech.login_signup.Login_signup_Mainscreen" />

<activity android:name="com.punchtech.login_signup.Login_screen" />

<activity android:name="com.punchtech.login_signup.Signup_screen" />

<activity
android:name="com.punchtech.Bottombar_main"
android:theme="@style/ForFragment"
android:windowSoftInputMode="adjustPan" />

<activity android:name="com.punchtech.Main_Post" />

<activity android:name="com.punchtech.User_profile_all.Jump_userProfile" />

<activity
android:name="com.punchtech.CreatePunch.image_search_api"
android:theme="@style/create_community" />

<activity
android:name="com.punchtech.CreatePunch.Tag_selection_create_punch"
android:theme="@style/create_community" />

<activity
android:name="com.punchtech.CreatePunch.Create_punch"
android:theme="@style/create_community" />

<activity
android:name="com.punchtech.CreatePunch.select_Community"
android:theme="@style/create_community" />

<activity
android:name="com.punchtech.Home_communiy_all.tag_selection_main"
android:theme="@style/create_community" />

<activity
android:name="com.punchtech.User_profile_all.setting_user_profile"
android:theme="@style/create_community" />

<activity
android:name="com.punchtech.User_profile_all.user_profile_follow"
android:theme="@style/create_community" />

<activity
android:name="com.punchtech.User_profile_all.user_profile_edit"
android:theme="@style/create_community" />

<activity android:name="com.punchtech.Home_communiy_all.community_view_home_community" />

<activity
android:name="com.punchtech.Comment_all.Comment_post"
android:theme="@style/create_community" />

<activity
android:name="com.punchtech.Home_communiy_all.Create_Community_main"
android:theme="@style/create_community" />

<activity
android:name="com.facebook.FacebookActivity"
android:configChanges="keyboard|keyboardHidden|screenLayout|screenSize|orientation"
android:label="@string/app_name"
android:theme="@android:style/Theme.Translucent.NoTitleBar" />

<meta-data android:name="android.support.multidex.MultiDexApplication" />

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

<meta-data
android:name="com.google.android.gms.version"
android:value="@integer/google_play_services_version" />

</application>

</manifest>

最佳答案

您的元数据不正确:

<meta-data android:name="android.support.multidex.MultiDexApplication" />

如 api 中所述,元数据标记是一个名称-值对,需要一个值或资源。它必须是例如:

<meta-data android:name="android.support.multidex.MultiDexApplication"
android:value="@string/yourValue" />

 <meta-data android:name="android.support.multidex.MultiDexApplication"
android:resource="@string/yourValue" />

更改此设置,从设备中删除您的应用,清理项目并重新安装。

关于android - 安装应用程序 android 时出现 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41075355/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com