title: 'Unsupported type error' after importing Android project to Android Studio
body: <p><br>
  (<em>I am new to forum so please ignore any mistake while posting. I have already tried alot to tackle this error.</em>)<br>
  I am new (Intern) to android. My boss asked me make some changes in existing Eclipse project. <br></p>
  
  <p>For importing project to Android Studio, I commented out the following lines in project.properties file</p>
  
  <pre><code>#android.library.reference.1=..\\google-play-services_lib
  #android.library.reference.2=../androidv7-appcompatz
  </code></pre>
  
  <p>Project successfully imported and I added dependencies.</p>
  
  <p>Upon building the project I got the following error</p>
  
  <pre><code>:app:generateDebugResValues UP-TO-DATE
  :app:generateDebugResources
  :app:mergeDebugResources
  E:\Workspace\Intern\Quran\AlAjmi\app\src\main\res\values\category_lists.xml
  Error:Error: Unsupported type 'category_list'
  :app:mergeDebugResources FAILED
  Error:Execution failed for task ':app:mergeDebugResources'.
  &gt; E:\Workspace\Intern\Quran\AlAjmi\app\src\main\res\values\category_lists.xml: Error: Unsupported type 'category_list'
  Information:BUILD FAILED
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/f3Aen.png" rel="nofollow noreferrer">Screenshot of error</a></p>
  
  <p>Here is category_list.xml</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;resources&gt;
      &lt;item type="category_list" name="row"&gt;false&lt;/item&gt;
  &lt;/resources&gt;
  </code></pre>
  
  <p>I don't know the types and files declared in values folder. Please have a look and elaborate.</p>
  
  <p><a href="https://i.stack.imgur.com/XjrVj.png" rel="nofollow noreferrer">Screenshot of values folder</a></p>
  
  <p><strong>Details that may be of some relevance</strong>.<br></p>
  
  <p>I am using Android Studio 2.1.2<br></p>
  
  <p><strong>AndroidManifest.xml</strong><br></p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.saturnteam.best.islamic.app.quran"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="9"
          android:targetSdkVersion="21" /&gt;
  
      &lt;!-- for APPNEXT adds --&gt;
      &lt;uses-permission android:name="android.permission.GET_ACCOUNTS" /&gt;
      &lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
      &lt;uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" /&gt;
      &lt;uses-permission android:name="android.permission.INTERNET" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
      &lt;uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" /&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/Theme.AppCompat" &gt;
          &lt;activity
              android:name="com.saturnteam.best.islamic.app.quran.HomeActivity"
              android:label="@string/app_name" &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;/activity&gt;
          &lt;activity
              android:name="com.saturnteam.best.islamic.app.quran.AudioListActivity"
              android:launchMode="singleInstance" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.saturnteam.best.islamic.app.quran.InfoActivity"
              android:launchMode="singleInstance" &gt;
          &lt;/activity&gt;
          &lt;activity
              android:name="com.saturnteam.best.islamic.app.quran.PlayAudioFile"
              android:launchMode="singleInstance" &gt;
          &lt;/activity&gt;
  
          &lt;service android:name="com.saturnteam.best.islamic.app.quran.MediaPlayerService" /&gt;
  
          &lt;!-- for APPNEXT adds --&gt;
          &lt;service android:name="com.appnext.appnextsdk.DownloadService" /&gt;
  
          &lt;!-- for  HEYZAP --&gt;
          &lt;activity
              android:name="com.heyzap.sdk.ads.HeyzapInterstitialActivity"
              android:configChanges="keyboardHidden|orientation|screenSize|smallestScreenSize" /&gt;
  
          &lt;receiver android:name="com.heyzap.sdk.ads.PackageAddedReceiver" &gt;
              &lt;intent-filter&gt;
                  &lt;data android:scheme="package" /&gt;
  
                  &lt;action android:name="android.intent.action.PACKAGE_ADDED" /&gt;
              &lt;/intent-filter&gt;
          &lt;/receiver&gt;
  
          &lt;!-- for ADDMOBE adds add this below Activity --&gt;
          &lt;activity
              android:name="com.google.android.gms.ads.AdActivity"
              android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"
              android:screenOrientation="portrait" /&gt;
  
          &lt;meta-data
              android:name="com.google.android.gms.version"
              android:value="@integer/google_play_services_version" /&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p><strong>build.gradle</strong>(app)<br></p>
  
  <pre><code>apply plugin: 'com.android.application'
  
  android {
      compileSdkVersion 23
      buildToolsVersion "24.0.1"
  
      defaultConfig {
          applicationId "com.saturnteam.best.islamic.app.quran"
          minSdkVersion 9
          targetSdkVersion 21
      }
  
      buildTypes {
          release {
              minifyEnabled false
              proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
          }
      }
  }
  
  dependencies {
      compile 'com.android.support:appcompat-v7:23.0.0'
      compile 'com.google.android.gms:play-services:9.2.1'
      compile files('libs/AppnextSDK.jar')
      compile files('libs/heyzap-ads-sdk-7.2.4.jar')
  }
  </code></pre>
  
  <p><a href="https://stackoverflow.com/questions/31338585/android-studio-error-importing-project-errorexecution-failed-for-task-appm">Android Studio - Error importing project Error:Execution failed for task &#39;:app:mergeDebugResources&#39;</a></p>