After much searching this is the only way I could figure out how to add a calendar when running in an Android Emulator.  This is not a new problem, many users have complained about this on the internet see http://stackoverflow.com/questions/14971158/avd-emulator-has-no-option-to-sync-with-google-calendar

The solution I came to is based off of the idea from BizTalk Maven however this does not appear to work anymore (at least not for me) because  according to Google.

“Starting January 30, 2013, users, other than paid Google Apps users, won’t be able to set up new devices using Google Sync”.

in other words unless you have a paid Google account, this method will not work with your Google account.

To get this to work I signed up for a free outlook.com account, and used that to add an account. Outlook.com supports Active Sync on it’s free accounts.

Steps I followed:

  • 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

Android Account Setup

If successful you will see a screen like this:

Android Account setup 2

You are now done. Go test that calendar!

I recently installed Visual Studio Tools for Apache Cordova CTP 3.1 in Visual Studio 2013 with Update 4 and when trying to build I kept getting the error:

Command failed with exit code 8 Visual Studio - mdavscli

The problem was that I has upgraded my version of Android SDK which was not compatible.

To troubleshoot this I turned on the diagnostic build here is how:

Go to Tools –> Options –> Projects and Solutions –> Build and Run, change MSBuild project build output verbosity to Diagnostic. Rebuild the project and post the text from output window

The output window showed the following error:

BUILD FAILED
C:\Programs\SDK\tools\ant\build.xml:597: The following error occurred while executing this line:
C:\Programs\SDK\tools\ant\build.xml:649: The following error occurred while executing this line:
C:\Programs\SDK\tools\ant\build.xml:694: Execute failed: java.io.IOException: Cannot run program
“C:\code\samh\platforms\android\CordovaLib\${aapt}”
(in directory “C:\code\samh\platforms\android\CordovaLib”): CreateProcess error=2,

after a little research I found out it looks like ant commands are broken in Android SDK 24.3, which cordova build is using.
I downgraded to previous release (24.2.0) and ant works fine now.

I downgraded to the following version of the sdk http://dl-ssl.google.com/android/repository/tools_r24.2-windows.zip 

To downgrade:

Today I did a factory reset on my T-Mobile My Touch 4G however on reboot I continued to get the following error:

Sorry!

The Application HTC Sense (process com.htc.launcher) has stopped unexpectedly.
Please Try Again.

The only option available was Force Close, and soon as that was pressed the message would appear again.

I tried the solutions listed at http://myhtcdesire.com/tutorials/fix-the-application-htc-sense-process-com-htc-launcher-has-stopped-unexpectedly, if the directions on that site work all the better, however if you are in the same boat as me those directions did not work.

My Problem:

On my phone I did have any way of getting to the search, nothing on screen, and no buttons would work.  Just hitting force close brought the force close option up instantly again and I had no time to do anything. So how did I get into the settings menu?

How I got into the settings menu:

The only way I was able to get was to do a factory reset though the boot menu.

You can perform a factory reset by (second half of this video) restarting the phone while holding the volume button down.  This will cause you to boot into your factory menu where you can select factory reset.

Once the factory reset gave me more time to react before the error popped up. Once the reset was done I was prompted with an introductory video all about my phone. I went through all the prompts until my home screen was loading. Right away before anything loaded I pushed and held on the home screen. This caused the option to add a shortcut to the home screen. I was able to add a shortcut to settings and get to it that way.

After that I was able to clear the data to go to Applications > Manage Applications > HTC Sense > and Clear Data. However this did not fix it for me. Instead I had to clear data on all my
applications until I found the one that was causing the problem.

Did this post save your expensive phone from being a paper weight? Did it save you hours of fustration? Consider buying me a coffee!