title: android studio Execution failed for task ':app:mergeDebugResources'
body: <p>I decompiled an app using an online tool (www.decompileandroid.com) then, after I downloaded the zipped source code (assets + java code), I extracted it in a folder and finally I imported the folder in android studio (File>New>Import Project).
  Then, without editing any file, I tried to run the project but I got this error:</p>
  
  <p><code>Error: Found item ###/ITEM-NAME more than one time</code></p>
  
  <pre><code>Error:Execution failed for task ':app:mergeDebugResources'. &gt; C:\Users\Fabrizio\AndroidStudioProjects\com.hwlogos.ytstars\app\src\main\res\values\public.xml: Error: Found item ###/ITEM.NAME more than one time
  </code></pre>
  
  <p>I searched the web for hours but I can't find any useful answer...</p>
  
  <p>Please  help! </p>
  
  <p>PS: I tried also with other applications but I always get the same error...</p>
  
  <p><strong>UPDATE:</strong></p>
  
  <p>Now I tried to decompile a simple app i created with android studio and  when I reimported it in android studio I got the same error.
  it seems there are two resources with the same name, one declared as string and the other as id.
  Here's a part of my public.xml, which i never wrote when I made my application!!!</p>
  
  <pre><code>&lt;public type="string" name="action_settings" id="0x7f070006" /&gt;
  &lt;public type="id" name="action_settings" id="0x7f09000a" /&gt;
  </code></pre>