title: Unity 2018.2 build error in manifest ( resource drawable/app_icon not found )
body: <p>I have upgraded unity to 2018.2.2f1 and now when I want to build the apk this error prevents build from finishing:</p>
  
  <p><code>...\Temp\gradleOut\build\intermediates\manifests\full\debug\AndroidManifest.xml:76: AAPT: error: resource drawable/app_icon (aka com.domain.projectname:drawable/app_icon) not found.</code></p>
  
  <p>This is part of the original (not the merged) manifest:</p>
  
  <pre><code>...&lt;application android:theme="@style/UnityThemeSelector" android:icon="@drawable/app_icon" android:label="@string/app_name" android:largeHeap="true"&gt;
          &lt;!-- The MessagingUnityPlayerActivity is a class that extends
           UnityPlayerActivity to work around a known issue when receiving
           notification data payloads in the background. --&gt;
          &lt;activity android:name="com.google.firebase.MessagingUnityPlayerActivity"
                    android:label="@string/app_name"
                    android:icon="@drawable/app_icon"
                    android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen"&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;meta-data android:name="unityplayer.UnityActivity" android:value="true" /&gt;
          &lt;/activity&gt;...
  </code></pre>
  
  <p>that android:icon="@drawable/app_icon" inside the activity tag is causing the problem. If I remove it, the build is successful, but the app crashes on start. If I change the @drawable to @mipmap, the app still crashes. Logs from logcat give no usefull info either:</p>
  
  <pre><code>Caused by: java.lang.IllegalStateException: A fatal developer error has occurred. Check the logs for further information.
          at com.google.android.gms.common.internal.zze.zzw(Unknown Source)
          at com.google.android.gms.common.internal.zzi.zzamc(Unknown Source)
          at com.google.android.gms.common.internal.zzh.handleMessage(Unknown Source)
          at android.os.Handler.dispatchMessage(Handler.java:102)
          at android.os.Looper.loop(Looper.java:211)
          at android.app.ActivityThread.main(ActivityThread.java:5389)
          at java.lang.reflect.Method.invoke(Native Method)
          at java.lang.reflect.Method.invoke(Method.java:372)
          at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1020)
          at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:815)
  </code></pre>
  
  <p>Any hints giving me a better understandig about this situation would be appreciated.</p>