franza
franza

Reputation: 2317

Troubles with application installation in AVD

I'm developing android application. To test my app on AVD I need to install "Calendar" app on emulator and make syncing to google account available. After installing calendar app (adb install Calendar.apk) it does not sync with calendar on my google account. I tried to install GoogleCalendarSyncAdapter (adb install GoogleCalendarSyncAdapter.apk) but I had an error said:

195 KB/s (113455 bytes in 0.565s)
    pkg: /data/local/tmp/GoogleCalendarSyncAdapter.apk
Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

What the hell is this thing?

Upvotes: 0

Views: 297

Answers (1)

Nick
Nick

Reputation: 3494

First, make sure you've set up a sync-account (via the System-Settings, see here) and check if your emulator targets the Google-APIs rather than the generic SDK in the AVD-Manager.

Something else you could try is to download a pre-configured system image that has the Android Market and all Google Apps (including the Calendar) pre-installed (looks just like a "real" device) following this walkthrough.

Upvotes: 1

Related Questions