title: TestFlight APK error parsing application name
body: <p>I'm receiving this error while I want to upload apk file on testFlight</p>
  
  <pre><code>'Invalid APK: Failed to parse application name from AndroidManifest.xml.'
  </code></pre>
  
  <p>This is my AndroidManifest:</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="MY_PACKAGE._APP_NAME"
      android:versionCode="6"
      android:versionName="1.5" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="8"
          android:targetSdkVersion="18" /&gt;
  
      &lt;permission
          android:name="com.example._APP_NAMEreceiver.permission.MAPS_RECEIVE"
          android:protectionLevel="signature" /&gt;
  
      &lt;uses-feature
          android:glEsVersion="0x00020000"
          android:required="true" /&gt;
  
      &lt;uses-permission android:name="com.example._APP_NAMEreceiver.permission.MAPS_RECEIVE" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="com.google.android.providers.gsf.permission.READ_GSERVICES" /&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.RECEIVE_SMS" /&gt;
      &lt;uses-permission android:name="android.permission.READ_SMS" /&gt;
      &lt;uses-permission android:name="android.permission.SEND_SMS" /&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_MOCK_LOCATION" /&gt;
      &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
  
      &lt;application
          android:name=".MyApp"
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/Theme.MyTheme" &gt;
          &lt;activity
              android:name="MY_PACKAGE._APP_NAME.ReceiverMenuScreen"
              android:label="@string/app_name"
              android:screenOrientation="portrait" &gt;
          &lt;/activity&gt;
  
          &lt;receiver android:name="MY_PACKAGE._APP_NAME.SMSReceiver" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.provider.Telephony.SMS_RECEIVED" /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
  
          &lt;activity
              android:name="MY_PACKAGE._APP_NAME.ShowMap"
              android:label="@string/title_activity_show_map" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="MY_PACKAGE._APP_NAME.Prefs"
              android:label="@string/smsinbox_title" &gt;
          &lt;/activity&gt;
  
          &lt;meta-data
              android:name="com.google.android.maps.v2.API_KEY"
              android:value="API_KEY" /&gt;
  
          &lt;activity
              android:name="MY_PACKAGE._APP_NAME.SMSReader"
              android:label="@string/title_activity_smsreader"
              android:screenOrientation="portrait" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="MY_PACKAGE._APP_NAME.ListActivity"
              android:label="@string/title_activity_list" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="MY_PACKAGE._APP_NAME.SMSSender"
              android:label="@string/app_name" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="MY_PACKAGE._APP_NAME.SwitchMode"
              android:label="@string/app_name" &gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>I have two folders 'values-pl' and 'values-en' with strings named"app_name", value=APP NAME.</p>
  
  <p>I tried to rename app, delete testflight.lib etc. Did anyone has this problem? Or know how to fix it?</p>