title: Entry name 'res/color/material_on_surface_disabled.xml' collided
body: <p>I just created a signed apk after which, I added two files to my project- my_web_activity.xml and MyWebActivity.kt. After compiling the code, I got the error-&quot;Entry name 'res/color/material_on_surface_disabled.xml' collided&quot; Nothing else was specified.</p>
  <p>my_web_activity.xml</p>
  <pre><code>&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
  &lt;androidx.constraintlayout.widget.ConstraintLayout
      xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:layout_width=&quot;match_parent&quot;
      xmlns:app=&quot;http://schemas.android.com/apk/res-auto&quot;
      xmlns:tools=&quot;http://schemas.android.com/tools&quot;
      android:layout_height=&quot;match_parent&quot;&gt;
  
      &lt;com.google.android.gms.ads.AdView
          android:id=&quot;@+id/adView&quot;
          android:layout_width=&quot;match_parent&quot;
          android:layout_height=&quot;wrap_content&quot;
          android:layout_alignParentBottom=&quot;false&quot;
          app:adSize=&quot;BANNER&quot;
          app:adUnitId=&quot;ca-app-pub-3940256099942544/6300978111&quot;
          app:layout_constraintBottom_toBottomOf=&quot;parent&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintHorizontal_bias=&quot;0.0&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot; /&gt;
  
      &lt;WebView
          android:id=&quot;@+id/my_web_view&quot;
          android:layout_width=&quot;0dp&quot;
          android:layout_height=&quot;0dp&quot;
          android:layout_marginBottom=&quot;1dp&quot;
          app:layout_constraintBottom_toTopOf=&quot;@+id/adView&quot;
          app:layout_constraintEnd_toEndOf=&quot;parent&quot;
          app:layout_constraintStart_toStartOf=&quot;parent&quot;
          app:layout_constraintTop_toTopOf=&quot;parent&quot; /&gt;
  &lt;/androidx.constraintlayout.widget.ConstraintLayout&gt;
  ```
  
  MyWebActivity.kt
  ```
  package com.albertjokelin.revise
  
  import android.os.Bundle
  import androidx.appcompat.app.AppCompatActivity
  import com.google.android.gms.ads.AdRequest
  import com.google.android.gms.ads.AdView
  import com.google.android.gms.ads.MobileAds
  
  class MyWebActivity : AppCompatActivity() {
  
      lateinit var mAdView: AdView
  
      override fun onCreate(savedInstanceState: Bundle?) {
          super.onCreate(savedInstanceState)
  
          setContentView(R.layout.my_web_activity)
  
          // Google Ad view
          MobileAds.initialize(this)
          mAdView = findViewById(R.id.adView)
          val adRequest: AdRequest = AdRequest.Builder().build()
          mAdView.loadAd(adRequest)
      }
  
  }
  ```
  
  Edit: I ended up rebuilding the whole project from scratch after trying everything available at that time. So I don't know which solution works. Cheers!
  </code></pre>