When I create a project with exist android source ,for example android 
contacts app. 
There are so many compile problem. 

How to solve it?  Are there some java package need to add to eclipse?  How 
to find out which package I should add to.  Thanks!

file com.android.contacts
import com.google.android.collect.Maps; Can not be solved

eclipse error hint below

Description Resource Path Location Type
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
CallDetailActivity.java /Contacts/src/com/android/contacts line 231 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
CallDetailActivity.java /Contacts/src/com/android/contacts line 372 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
ContactsListActivity.java /Contacts/src/com/android/contacts line 743 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
ContactsListActivity.java /Contacts/src/com/android/contacts line 811 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
ContactsListActivity.java /Contacts/src/com/android/contacts line 819 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
ContactsUtils.java /Contacts/src/com/android/contacts line 525 Java Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
QuickContactWindow.java /Contacts/src/com/android/contacts/ui line 783 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
QuickContactWindow.java /Contacts/src/com/android/contacts/ui line 789 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
QuickContactWindow.java /Contacts/src/com/android/contacts/ui line 1434 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
RecentCallsListActivity.java /Contacts/src/com/android/contacts line 236 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
RecentCallsListActivity.java /Contacts/src/com/android/contacts line 1295 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
SpeedDialListActivity.java /Contacts/src/com/android/contacts line 159 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
TwelveKeyDialer.java /Contacts/src/com/android/contacts line 808 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
TwelveKeyDialer.java /Contacts/src/com/android/contacts line 853 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
TwelveKeyDialer.java /Contacts/src/com/android/contacts line 904 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
ViewContactActivity.java /Contacts/src/com/android/contacts line 800 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
ViewContactActivity.java /Contacts/src/com/android/contacts line 807 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
ViewContactActivity.java /Contacts/src/com/android/contacts line 838 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
ViewContactActivity.java /Contacts/src/com/android/contacts line 933 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
ViewContactActivity.java /Contacts/src/com/android/contacts line 937 Java 
Problem
ACTION_CALL_PRIVILEGED cannot be resolved or is not a field 
ViewContactActivity.java /Contacts/src/com/android/contacts line 1044 Java 
Problem
ACTION_QUICK_CONTACT cannot be resolved or is not a field 
ContactsListActivity.java /Contacts/src/com/android/contacts line 2304 Java 
Problem
ADDRESS cannot be resolved or is not a field MultiPickContactActivity.java 
/Contacts/src/com/android/contacts/ui line 102 Java Problem
ArrayUtils cannot be resolved GroupingListAdapter.java 
/Contacts/src/com/android/contacts line 205 Java Problem
CallerInfo cannot be resolved to a variable CallDetailActivity.java 
/Contacts/src/com/android/contacts line 194 Java Problem
CallerInfo cannot be resolved to a variable CallDetailActivity.java 
/Contacts/src/com/android/contacts line 195 Java Problem
CallerInfo cannot be resolved to a variable CallDetailActivity.java 
/Contacts/src/com/android/contacts line 199 Java Problem
CallerInfo cannot be resolved to a variable RecentCallsListActivity.java 
/Contacts/src/com/android/contacts line 765 Java Problem
CallerInfo cannot be resolved to a variable RecentCallsListActivity.java 
/Contacts/src/com/android/contacts line 768 Java Problem
CallerInfo cannot be resolved to a variable RecentCallsListActivity.java 
/Contacts/src/com/android/contacts line 771 Java Problem
CallerInfo cannot be resolved to a variable RecentCallsListActivity.java 
/Contacts/src/com/android/contacts line 1056 Java Problem
CallerInfo cannot be resolved to a variable RecentCallsListActivity.java 
/Contacts/src/com/android/contacts line 1058 Java Problem
CallerInfo cannot be resolved to a variable RecentCallsListActivity.java 
/Contacts/src/com/android/contacts line 1060 Java Problem
CallerInfo cannot be resolved to a variable RecentCallsListActivity.java 
/Contacts/src/com/android/contacts line 1286 Java Problem

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to