title: Importing external library into eclipse - Android
body: <p>I want to use the <a href="https://github.com/saik0/UnifiedPreference" rel="nofollow">UnifiedPreference</a> library in my app. I've imported the library into my workspace, then added the new project into my existing project by adding it as a library under Properties -> Android. However I'm getting the following errors when I try to build my project which are coming from the UnifiedPreference project:</p>
  
  <p>Console:</p>
  
  <pre><code>[2013-04-08 23:06:29 - unified-pref-library] ERROR: In &lt;declare-styleable&gt; PreferenceHeader, unable to find attribute icon
  [2013-04-08 23:06:29 - unified-pref-library] ERROR: In &lt;declare-styleable&gt; PreferenceHeader, unable to find attribute title
  </code></pre>
  
  <p>The relevent logcat errors seem to be:</p>
  
  <pre><code>PreferenceHeader_title cannot be resolved or is not a field UnifiedPreferenceHelper.java    /unified-pref-library/src/net/saik0/android/unifiedpreference   line 435    Java Problem
  PreferenceHeader_title cannot be resolved or is not a field UnifiedPreferenceHelper.java    /unified-pref-library/src/net/saik0/android/unifiedpreference   line 299    Java Problem
  </code></pre>
  
  <p>Have I imported the library incorrectly? I've tried cleaning and building both projects without anything changing.</p>