初学android,新建一个hello world的项目,编译通过,在模拟器安装失败,提示:
“Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED”谷歌的答案都没能解决问题。哪位初学android碰到过这种问题?

解决方案 »

  1.   

    1. 有可能你的客户端已经安装过了,需要移调才能安装
    2. 你的清单文件AndroidManifest.xml写的有问题,检查一下
      

  2.   

    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android"
        package="Hello.World"
        android:versionCode="1"
        android:versionName="1.0" >    <uses-sdk
            android:minSdkVersion="8"
            android:targetSdkVersion="18" />    <application
            android:allowBackup="true"
            android:icon="@drawable/ic_launcher"
            android:label="@string/app_name"
            android:theme="@style/AppTheme" >
            <activity
                android:name="Hello.World.MyHelloWorld"
                android:label="@string/app_name" >
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />                <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
        </application></manifest>AndroidManifest.xml都是生成的,没修改过一个标记。
      

  3.   

    估计是你说的原因,卸载掉android、eclipse,重新安装,问题解决了。
    但是这是什么原因造成的呢?