title: Android Studio 3.0 Beta 2 - unknown element <action> found in AndroidManifest.xml
body: <p>I'm having this issue with Android Studio 3.0 beta 2 where it basically does not resolve anything inside my <code>Manifest.xml</code></p>
  
  <p>This is how the LogCat looks like when trying to run the app:</p>
  
  <pre><code>&gt; Error:(60) unknown element &lt;action&gt; found
  Error:(66) unknown element &lt;action&gt; found
  Error:(71) unknown element &lt;action&gt; found
  Error:(76) unknown element &lt;action&gt; found
  Error:(81) unknown element &lt;action&gt; found
  Error:(86) unknown element &lt;action&gt; found
  Error:(91) unknown element &lt;action&gt; found
  Error:(96) unknown element &lt;action&gt; found
  Error:/Users/daniele/Developer/Android Projects/Chords2/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:60 unknown element &lt;action&gt; found
  Error:/Users/daniele/Developer/Android Projects/Chords2/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:71 unknown element &lt;action&gt; found
  Error:/Users/daniele/Developer/Android Projects/Chords2/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:81 unknown element &lt;action&gt; found
  Error:/Users/daniele/Developer/Android Projects/Chords2/app/build/intermediates/manifests/full/debug/AndroidManifest.xml:91 unknown element &lt;action&gt; found
  Error:java.util.concurrent.ExecutionException: com.android.builder.internal.aapt.AaptException: AAPT2 link failed:
  Error:com.android.builder.internal.aapt.AaptException: AAPT2 link failed:
  </code></pre>
  
  <p>This is how my app <code>build.gradle</code> looks like:</p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      signingConfigs {
          ######_key {
              keyAlias '######'
              keyPassword '######'
              storeFile file('#######.jks')
              storePassword '######'
          }
      }
      compileSdkVersion 26
      buildToolsVersion "26.0.1"
      defaultConfig {
          applicationId "######"
          minSdkVersion 21
          targetSdkVersion 26
          versionCode 16
          versionName "2.1"
          signingConfig ######
          multiDexEnabled true
      }
      buildTypes {
          release {
              shrinkResources true
              minifyEnabled true
              proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
          }
      }
      productFlavors {
      }
  
      dataBinding {
          enabled = true
      }
  }
  
  dependencies {
      compile fileTree(include: ['*.jar'], dir: 'libs')
      androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
          exclude group: 'com.android.support', module: 'support-annotations'
      })
      compile 'com.android.support:appcompat-v7:26.0.1'
      compile 'com.android.support:support-v4:26.0.1'
      compile 'com.android.support:design:26.0.1'
      compile 'com.android.support:recyclerview-v7:26.0.1'
      compile 'com.android.support:cardview-v7:26.0.1'
      compile 'com.getbase:floatingactionbutton:1.10.1'
      compile 'com.squareup.picasso:picasso:2.5.2'
      compile 'com.github.hotchemi:android-rate:1.0.1'
      compile 'com.google.firebase:firebase-ads:11.2.0'
      compile 'com.google.firebase:firebase-invites:11.2.0'
      compile 'com.google.firebase:firebase-crash:11.2.0'
      compile 'com.google.firebase:firebase-storage:11.2.0'
      compile 'com.heinrichreimersoftware:material-intro:1.6.2'
      testCompile 'junit:junit:4.12'
  }
  
  apply plugin: 'com.google.gms.google-services'
  </code></pre>
  
  <p>I have ### out the data regarding my signing key.
  To me it looks alright. </p>
  
  <p>I also tried cleaning, rebuilding, resyncing the gradle file, Still no luck though.</p>
  
  <p>This is a logcat screenshot. Maybe it's more readable</p>
  
  <p><a href="https://i.stack.imgur.com/TQ1FE.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TQ1FE.png" alt="error"></a></p>
  
  <p>Based on MikeM suggestion I tried <a href="https://stackoverflow.com/a/45506536/6427630">this answer</a> and changed in <code>gradle-wrapper.properties</code></p>
  
  <pre><code>distributionUrl=https://services.gradle.org/distributions/gradle-4.1-rc-2-all.zip
  </code></pre>
  
  <p>The error is still there though</p>