Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

这个错误其中可能的一个原因就是包名是否正确

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="abc.com.cn"
      android:versionCode="1"
      android:versionName="1.0"
      >

另外下面的activity:name不要再包含包名,直接用.来表示

<activity android:name=".GameActivity"
                  android:label="@string/app_name">
            <intent-filter>

猜你喜欢

转载自kalogen.iteye.com/blog/1918049