I just ran into this problem today. Let me tell you what was the trick for me ... maybe this will help you too.
anyway, in my case it crashed because I redefined onActivityResult and inside this event I tried to do this:
Bundle extra = data.getExtras(); String albumId = extra.getString("id");
this is the old code that remained in the application. After removal, everything worked as expected.
hope this helps in some way.
guy schaller
source share