2017-11-19 4 views
0

휴대 전화에 업데이트 된 앱을 배포하려고 할 때 INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 오류가 발생합니다. (아주 내가 인정해야 변경된 모든 데이터를 불러올 수 없습니다) 가 여기에 로그 캣입니다 : 내 AndroidManifest를INSTALL_PARSE_FAILED_MANIFEST_MALFORMED 오류 android

11-19 01:17:34.709 344-344/? E/installd: Couldn't opendir/data/app/vmdl535902261.tmp: No such file or directory 
    11-19 01:17:34.710 19506-19506/? E/Pm: Failure details:Bundle[{android.content.pm.extra.STATUS=4,android.content.pm.extra.PACKAGE_NAME=ProjectRomero.CarRemote, android.content.pm.extra.SESSION_ID=535902261, android.content.pm.extra.LEGACY_STATUS=-108, android.content.pm.extra.STATUS_MESSAGE=INSTALL_PARSE_FAILED_MANIFEST_MALFORMED: Failed parse during installPackageLI: /data/app/vmdl535902261.tmp/base.apk (at Binary XML file line #28): <activity> does not have valid android:name}] 

과 :

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

     <uses-permission android:name="android.permission.BLUETOOTH" /> 
     <uses-permission android:name="android.permission.BLUETOOTH_ADMIN" /> 
     <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /> 

     <uses-feature 
      android:name="android.hardware.bluetooth_le" 
      android:required="true" /> 

     <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=".scan_activity" 
       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=".remote_activity" 
       android:label="@string/app_name"> 
      </activity> 

     </application> 
    </manifest> 

그리고 내 두 활동 헤더 :

package ProjectRomero.CarRemote; 
    //imports 
    public class remote_activity extends AppCompatActivity {} 



    package ProjectRomero.CarRemote; 
    //imports 
    public class scan_activity extends AppCompatActivity {} 

나는이 혼동을 어떻게 바로 잡을 수 있습니까? 심지어 프로젝트를 다시하고 코드를 복사, 내 휴대 전화에서 응용 프로그램의 이전 버전을 삭제, 내 전화, 여전히 아무것도 ... 사전에

감사합니다 :)

답변

0

를 다시 시작, 꽤 많은 시간을 청소 시도 변경 패키지 = "ProjectRomero.CarRemote" 는 패키지 = 캡스가 꺼져

+0

감사를 넣어 어떤 이유 매니페스트

에서 "projectromero.carremote"로! 그게 내가 마침내 무엇을했는지, 새로운 프로 제트를 만들었지, 대문자를 사용하지 않았고 모든 코드를 붙여 넣었다. – Aqualeak