title: Android build fails when using activity-alias
body: <p>After I added a activity-alias, the build fails with:</p>
  
  <pre><code>error: attribute 'android:name' in &lt;activity-alias&gt; tag must be a valid Java class name.
  </code></pre>
  
  <p>Even if the Android Developers documentation says, the name doesn't have refer to an actual class.</p>
  
  <blockquote>
    <p>android:name</p>
    
    <p>A unique name for the alias. The name should resemble a fully qualified class name. But, unlike the name of the target activity, the alias name is arbitrary; it does not refer to an actual class.</p>
  </blockquote>
  
  <p>Here's my activity declaration:</p>
  
  <pre><code>...
  
  &lt;activity android:name=".MainActivity" /&gt;
  
  &lt;activity-alias
      android:name="MainActivity-2"
      android:targetActivity=".MainActivity"
      android:icon="@mipmap/ic_launcher"
      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-alias&gt;
  
  ...
  </code></pre>