1

I've downloaded the android source code for CallLog, Contacts, Dialing from here.

But now, when I try to import this package on Eclipse, imports like:

com.google, com.android.internal.Telephony, com.android.internal.R, com.google.android.collect, android.provider.ContactsContract.Intents.UI, android.provider.ContactsContract.SearchSnippetColumns, android.provider.ContactsContract.ProviderStatus, android.provider.ContactsContract.ContactCounts, android.content.IContentService, android.provider.ContactsContract.Intents.UI

And many other imports, show errors saying it cannot be resolved.

So my question is, why it shows this errors? Why I cant implement it without this errors? I use the Google APIs, I've created the project from an existing source code, but I dont know why this happens.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
rogcg
  • 10,451
  • 20
  • 91
  • 133

2 Answers2

0

Try right clicking the solution / project in the project explorer and choose "fix" near the bottom.

Vadim Kotov
  • 8,084
  • 8
  • 48
  • 62
brux
  • 3,197
  • 10
  • 44
  • 78
0

If you're sure that you have set up the Android SDK correctly, you should try to 'clean' your Eclipse project.

This usually solves import related errors in Eclipse for me.

Ben Weiss
  • 17,182
  • 6
  • 67
  • 87