I am getting ActivityNotFoundException error when i am trying to run youtube api StandAlonePlayerActivity on ginger bread. Where as it runs fine on ICS
Are you running the app on the emulator? It might not work on the emulator as youtube player is not installed by default. Try running it on an actual device.