Answer
The answer is "After Earth," a science fiction film released in 2013. It features Will Smith and his son Jaden Smith as a father-son duo navigating a post-apocalyptic Earth where humans have been forced to live on another planet due to environmental devastation.