Rebel Wilson debuted the trailer for her new movie "How to Be Single" on "The Ellen DeGeneres Show" on Wednesday.

While the 35-year-old "Pitch Perfect" actress premiered the new trailer, she also had the chance to meet her favorite boy band One Direction, according to People.

Wilson ran out wearing a One Direction sweater and carrying a sign that read "1D 4Eva" to join the group onstage. When asked what her favorite One Direction song was, she said "Olivia," one of the group's new songs, which she claimed was really about her.

After confessing her love to the band, she debuted the trailer for "How to Be Single," in which she stars as Robin, a party girl, who helps her newly single friend Alice, played by Dakota Johnson, assimilate back into the dating scene.

"While my character is fiercely independent, Dakota's character has just come out of a long-term relationship and is showing all the signs of codependency," Wilson explained to Entertainment Weekly. "Robin takes Alice under her wing, so to speak."

One of the scenes in the trailer shows Wilson telling Johnson to get a guy to buy her a drink at the bar. Dakota awkwardly walks up to a group of men and says, "Hey what's up y'all. I don't know why I just said y'all. You all would have taken just as much time. Oh my god, can I have two margaritas?"

In another scene, Rebel tells a man to get out of her apartment, before realizing she's in his place. When she tells him he was great the previous night, he asks, "Was I?" and she responds, "I can't remember."

Damon Wayans Jr., Anders Holm and Alison Brie also star in the film, which is based on the book by Liz Tuccillo.

"How to Be Single" hits theaters on Feb. 12.