I converted one project to a library project and linked it to the other, but I'm getting these errors (SearchFacebook is the library project):
[2012-11-02 16:29:10 - FacebookFollower] G:\AndroidProjects\FacebookUpdaterFollower\SearchFacebook\res\layout\test_results_auto_complete.xml:2: error: No resource identifier found for attribute 'categories' in package 'shira.android.facebook.updaterfollower.search'
[2012-11-02 16:29:10 - FacebookFollower] G:\AndroidProjects\FacebookUpdaterFollower\SearchFacebook\res\layout\test_results_auto_complete.xml:2: error: No resource identifier found for attribute 'max_results' in package 'shira.android.facebook.updaterfollower.search'
I checked the R file and the resource identifiers are there, and I'm not getting these errors when the linked project is compiled as a stand-alone project (not a library).
By the way, can I link an Android project without converting it to a library?
UPDATE: As was suggested, I changed the namespace of the custom attributes where they are used. My layout file in the project that uses the library now looks like this (the relevant parts):
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent" android:layout_height="match_parent" android:padding="5dp"
xmlns:search="http://schemas.android.com/apk/res-auto">
<shira.android.facebook.updaterfollower.search.FacebookResultsAutoComplete
android:id="@+id/followed_type_auto_complete" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" android:hint="@string/followed_type"
search:max_results="15"/>
However, I'm still getting the same errors as before, and I updated the Android Tools to the latest version, so what can be wrong?