Actor Seth Rogen said he knows from personal experience that it would be a bad idea to "fuck with North Korea," after President Trump suggested the U.S. might "solve the problem" of the rogue state itself.

"I don't have much authority to speak on political matters, but one thing I can DEFINITIVELY say: Don't f—k with North Korea," Rogen tweeted Tuesday.

Rogen directed and starred in the 2014 political satire "The Interview" about a plot to assassinate North Korean dictator Kim Jong Un. After warnings to the United States government from North Korea about releasing the film, Sony Pictures Entertainment's computer systems were hacked and terrorist threats were made to movie theaters about showing the film. The film's wide release was canceled and it premiered primarily for online rental.

Earlier Tuesday, Trump urged Chinese President Xi Jinping to solve the problem of an aggressive North Korea, or "we will solve the problem without them!"

"I explained to the President of China that a trade deal with the U.S. will be far better for them if they solve the North Korean problem!" Trump tweeted. "North Korea is looking for trouble. If China decides to help, that would be great. If not, we will solve the problem without them!"