title: getString is given not a valid String. -android-
body: <p>I have:</p>
  
  <pre><code>Toast.makeText(NewChatActivity.this, getString(R.string.invitation_sent_prompt, contact), Toast.LENGTH_SHORT).show();
  </code></pre>
  
  <p>(contact, is a String variable, as well as subForm ) and:</p>
  
  <pre><code>new AlertDialog.Builder(NewChatActivity.this).setTitle(getString(R.string.subscriptions))
                              .setMessage(getString(R.string.subscription_prompt, subFrom))
                              .setPositiveButton(R.string.approve_subscription, new DialogInterface.OnClickListener() {
                                  ....}
  </code></pre>
  
  <p>In both places, the <code>getString</code> is launching an error:</p>
  
  <p><code>Format String XXX is not a valid format string so it should be not passed to String.format</code></p>
  
  <p>The resource looks like:</p>
  
  <pre><code>&lt;string name="invitation_sent_prompt"&gt; Invitation has been sent to &lt;xliff:g id="user"&gt;%1$s&lt;/xliff:g&gt;.&lt;/string&gt;
  </code></pre>
  
  <p>.</p>
  
  <p>The worst, is that the project was on Eclipse, and after the migration to AndroidStudio, is launching this error.</p>
  
  <p>Where is the problem on getString?</p>