java - Importing external library into eclipse - Android -


i want use unifiedpreference library in app. i've imported library workspace, added new project existing project adding library under properties -> android. i'm getting following errors when try build project coming unifiedpreference project:

console:

[2013-04-08 23:06:29 - unified-pref-library] error: in <declare-styleable> preferenceheader, unable find attribute icon [2013-04-08 23:06:29 - unified-pref-library] error: in <declare-styleable> preferenceheader, unable find attribute title 

the relevent logcat errors seem be:

preferenceheader_title cannot resolved or not field unifiedpreferencehelper.java    /unified-pref-library/src/net/saik0/android/unifiedpreference   line 435    java problem preferenceheader_title cannot resolved or not field unifiedpreferencehelper.java    /unified-pref-library/src/net/saik0/android/unifiedpreference   line 299    java problem 

have imported library incorrectly? i've tried cleaning , building both projects without changing.

in eclipse:

  1. on package explorer
  2. right click in proyect > properties
  3. select: java build path
  4. select , enable android dependencies
  5. put on top in list
  6. click: ok

Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -