2016-12-10 4 views
3

내 앱을 설치하려고 할 때 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 오류가 발생했습니다.app을 설치하는 동안 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> 
+1

열기 ''태그가 있습니까? –

+0

예. – Sam

+0

태그가 추가되었습니다. 프로젝트에서 ** complete ** identical manifest를 사용하여 질문을 편집하십시오. – Opiatefuchs

답변

2

귀하의 메타 데이터가 올바르지 않습니다 API에서 메타 데이터 태그를 언급 한 바와 같이

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

는 이름 - 값 쌍이며 값이나 자원을 필요로한다. 그것은 예를 들어 있어야합니다 :이

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

또는

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

변경, 장치, 클린 프로젝트에서 응용 프로그램을 삭제하고 다시 설치합니다.

+0

감사합니다! 나는 특정 태그를 ....로 변경했다.' Eric