getChildFragmentManager() is a method on Fragment, not on FragmentActivity. Use getSupportFragmentManager() on a FragmentActivity.
上面的大意是,你应该用 getSupportFragmentManager().
参考:
http://stackoverflow.com/questions/16945904/the-method-getchildfragmentmanager-is-undefined