How do I install CalenderProvider.apk and Calendar.apk in a Froyo emulator? I'm trying to code something using the calendar-functionality. As there is no support in the emulator, I tried to install the missing apks for CalenderProvider and Calendar. I found a tutorial, but that doesn't work as expected. As I need to code for Froyo the tutorial sounded perfect, but the installation of the files in the linked ZIP-file looks like this:

G:\&gt;"C:\Program Files\Android\platform-tools\adb.exe" install CalendarProvider.apk
367 KB/s (331864 bytes in 0.882s)
        pkg: /data/local/tmp/CalendarProvider.apk
Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]

G:\&gt;"C:\Program Files\Android\platform-tools\adb.exe" install Calendar.apk
764 KB/s (243369 bytes in 0.311s)
        pkg: /data/local/tmp/Calendar.apk
Success

G:\&gt;


Regarding INSTALL_FAILED_SHARED_USER_INCOMPATIBLE I learned that it has got to do something with the ROM. As I don't have anything else I'm lost here.

Can anyone please help me to circumvent that error message or can provide a working combo for the two apks for Froyo?
Make sure you downloaded the Google APIs corresponding to your API level in the SDK Manager and that you set your AVD's target on Google APIs. This version of the API is needed for the CalendarProvider (for sync functions with Google I imagine).