title: Error installing APK INSTALL_PARSE_FAILED_MANIFEST_MALFORMED - Android
body: <p>i'm having this error which can't let me install the apk on any device : </p>
  
  <blockquote>
    <p>Installation error: INSTALL_PARSE_FAILED_MANIFEST_MALFORMED</p>
  </blockquote>
  
  <p>Here is my manifest : </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example"
      android:versionCode="2"
      android:versionName="1.0.1" &gt;
  
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.GET_TASKS" /&gt;
  
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="17" /&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@android:style/Theme.Light.NoTitleBar" &gt;
          &lt;activity
              android:name="com.example.activities.MainTabs"
              android:label="@string/app_name" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="com.apphance.android.LAUNCH" /&gt;
  
                  &lt;category android:name="android.intent.category.DEFAULT" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.example.activities.TourInfo"
              android:label="@string/title_activity_tour_info" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.example.TestActivity"
              android:label="@string/title_activity_test" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.example.activities.DiscoverTab"
              android:label="@string/title_activity_discover_tab_group" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.example.activities.MyToursTab"
              android:label="@string/title_activity_my_tours_tab_group" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.example.activities.SettingsTab"
              android:label="@string/title_activity_settings_tab_group" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.example.activities.Discover"
              android:label="@string/title_activity_discover" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.example.activities.MyTours"
              android:label="@string/title_activity_my_tours" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.example.activities.Settings"
              android:label="@string/title_activity_settings" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.example.activities.Topics"
              android:label="@string/title_activity_topics" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.example.activities.Places"
              android:label="@string/title_activity_places" &gt;
          &lt;/activity&gt;
  
          &lt;activity-alias
              android:name="com.example.ApphanceLauncherActivity"
              android:targetActivity="com.apphance.android.LauncherActivity" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" &gt;
                  &lt;/action&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" &gt;
                  &lt;/category&gt;
              &lt;/intent-filter&gt;
          &lt;/activity-alias&gt;
  
          &lt;uses-library android:name="com.google.android.maps" /&gt;
  
          &lt;activity
              android:name="com.apphance.android.LauncherActivity"
              android:theme="@android:style/Theme.Translucent.NoTitleBar" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.apphance.android.ui.LoginActivity"
              android:launchMode="singleInstance" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.apphance.android.ui.TestCycleActivity"
              android:launchMode="singleInstance" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.apphance.android.ui.ProblemActivity"
              android:configChanges="orientation"
              android:launchMode="singleInstance" &gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
      &lt;instrumentation
          android:name="com.apphance.android.ApphanceInstrumentation"
          android:targetPackage="com.example" &gt;
      &lt;/instrumentation&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>PS : I'm using Apphance API since a while and it never caused me problems.</p>
  
  <p><strong>Edit :</strong> I run once a project having the same package name by mistake, it caused me some errors in the second project so i changed it. Does it have any relation to the error in this project?</p>
  
  <p>Any idea please?</p>