Let $G$ be a Lie group, and let $\underline{G}$ denote the sheaf of smooth $G$-valued maps, i.e. for a smooth manifold $M$ we have $G(M) = C^\infty(M,G)$.
What are conditions on $G$ that imply that $\underline{G}$ is acyclic, i.e. the sheaf cohomology $H^n(M,\underline{G})=0$ for all smooth manifolds $M$ and all $n>0$?
It is clear that soft, flabby or fine sheaves are acyclic. I am interested in concrete conditions on the group $G$, e.g. like smooth contractibility.
EDIT: Daniel's answer below answers my question in the case that $G$ is abelian, using the classification of abelian Lie groups. So let us concentrate on the case that $G$ is non-abelian. The condition I am looking for is supposed to imply the vanishing of the set $H^1(M,\underline{G})$. This set can be defined for example via Cech cohomology. Its geometrical meaning is that it classifies principal $G$-bundles over $M$ up to isomorphism.