Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AVD emulator has no option to Sync with Google Calendar

My app has functionality to add events to the calendar but in order to achieve this Android's calendar app needs to have calendars. In order to add calendars you have to add a Google account. So I added a Google account in the emulator. It shows up as sync is off:

sync is off

, so when I click on it there are no items there under data synchronization.

no items

When I go into the calendar app - Settings and click on the email address shown it says the account isn't being synced.

account not synched

When I click on the accounts and sync button I am back to square one, in an endless loop.

Note using the email application in the emulator the sync is fine. email is fine

Is there some undocumented step I am missing, or have Google turned off this feature recently for Google Calendars. Or do you need a Google Plus account to use this feature as they bug you in the account creation screen to use Google plus.

I am using Android 4.03 with Google APIs. I have also tried this on 4.2, and I am having the same issues.

Here is a logcat from when opening the settings menu all the way to clicking on the account name http://pastebin.com/9Fk8NA0i

like image 705
pt123 Avatar asked Feb 20 '13 02:02

pt123


People also ask

Why is my Google Calendar on my Android phone not syncing with my computer?

If you're not connected, make sure that data or Wi-Fi is on, and that you're not in Airplane mode. Next, check your device's app store to make sure the Google Calendar app is up to date. To the left of the calendar's name, make sure the box is checked.

How do you sync Google Calendar with Android?

This can be found in the upper-right corner of the Calendar screen. Tap your newly-added Google account. It will be listed along with any other Google accounts connected to your Android device. Check the box for each calendar you want to sync.


1 Answers

I know this is older, but I did find a solution. Sergery is correct that you cannot use Google Sync with a free google account, therefore you cannot use a free Google account to sync the calendar.

The solution for me was to signup for a free outlook.com account and use outlook.com's active sync settings.

The steps I followed are from my blog and are as follows:

  • Sign out for free account at outlook.com
  • Select a Corporate Account
  • Enter username such as [email protected]
  • Select Manual Setup
  • Select account type of “Exchange” (This will allow us to sync with active sync)
  • Enter Server as s.outlook.com
  • Security type as SSL/TLS
  • Select next
  • Confirm settings.
like image 194
Sam Plus Plus Avatar answered Sep 19 '22 12:09

Sam Plus Plus