title: Gradle Error : Duplicate value for resource 'attr/font' with config " solutions not working
body: <p>I am trying to <strong>create circular-shaped buttons</strong> for my first android app.</p>
  <p>For that, I added the library as
  <code>compile 'com.cuboid:cuboidcirclebutton:1.0.5'</code> in circlebutton/app/build.gradle</p>
  <p>As I sync, I get errors. below is the log</p>
  <pre><code>Information:Gradle tasks [clean, :app:assembleDebug]
  C:\Users\Amninder\.gradle\caches\transforms-1\files-1.1\appcompat-v7-26.1.0.aar\2d55d8c33dae479e599960c08d012b17\res\values\values.xml
  Error:(246, 5) error: duplicate value for resource 'attr/font' with config ''.
  Error:(246, 5) error: resource previously defined here.
  
  C:\Users\Amninder\AndroidStudioProjects\circlebutton\app\build\intermediates\incremental\mergeDebugResources\merged.dir\values\values.xml
  Error:(254) duplicate value for resource 'attr/font' with config ''.
  
  Error:(240) resource previously defined here.
  
  Error:java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
  Error:Execution failed for task ':app:mergeDebugResources'.
  
   Error: java.util.concurrent.ExecutionException: com.android.tools.aapt2.Aapt2Exception: AAPT2 error: check logs for details
  Information:BUILD FAILED in 19s
  Information:6 errors
  Information:0 warnings
  Information:See complete output in console`
  </code></pre>
  <p>Below is a list of things I tried and failed.</p>
  <p>1.removing attr/font on line 254 &gt; doing save all &gt; clean project &gt; rebuild project.</p>
  <ol start="2">
  <li><p>I was inspired by this youtube video - <a href="https://www.youtube.com/watch?v=dF0m_PG111g" rel="nofollow noreferrer">https://www.youtube.com/watch?v=dF0m_PG111g</a> so checked in its comments section. First, the comment was the same error. So, check this  <a href="http://artvk.blogspot.com/2017/11/error736-duplicate-value-for-resource.html" rel="nofollow noreferrer">guy's blog</a>. So I got to know the error was because of adding the library only. So I searched on google for - how to add a custom library in android <a href="https://www.google.co.in/search?q=how%20to%20add%20custom%20library%20in%20android%20studio&amp;rlz=1C1NHXL_enIN729IN729&amp;oq=how%20to%20add%20custom%20libaries%20in%20androi&amp;aqs=chrome.1.69i57j0l3.10866j0j7&amp;sourceid=chrome&amp;ie=UTF-8" rel="nofollow noreferrer">referred to this</a>. opened it and there was no info. regarding the error, I am facing.</p>
  </li>
  <li><p>Saw another link on the video, from StackOverflow this time.<a href="http://%20EDMT%20Dev%20EDMT%20Dev%203%20weeks%20ago%20https://stackoverflow.com/questions/47668526/duplicate-value-for-resource-attr-font-with-config" rel="nofollow noreferrer">here is the link</a>. He says &quot;After renaming the library attribute to something else (text font), all went good again.&quot; I also tried renaming the attr/font to attr/1txtfont but changes were not reflected at all.</p>
  </li>
  </ol>
  <p>Can anyone here please help me out on this?</p>