Changing target Android framework from 1.6 to 2.2. The solution now builds fine.