<Li> Robert Downey Jr. as Tony Stark / Iron Man: A self - described genius, billionaire, playboy, and philanthropist with electromechanical suits of armor of his own invention, who is Parker's mentor and is the creator of the U.S. Department of Damage Control . Sony Pictures Motion Picture Group chairman Thomas Rothman noted that, beyond the commercial advantage of featuring Downey in the film, the inclusion of Stark was important due to the relationship established between him and Parker in Captain America: Civil War . Watts noted that after Stark's actions in Civil War, introducing Parker to life as an Avenger, there are "a lot of repercussions to that . Is it a first step towards Tony as some sort of mentor figure? Is he comfortable with that?" Co-writer Jonathan Goldstein compared Stark to Ethan Hawke's father character in Boyhood . </Li> <P> Additionally, Gwyneth Paltrow, Kerry Condon, and Chris Evans reprise their roles as Pepper Potts, F.R.I.D.A.Y., and Steve Rogers / Captain America from previous MCU films, respectively . Rogers appears in public service announcements played at Parker's school . Jacob Batalon portrays Parker's best friend Ned, a "complete gamer", whom Batalon described as "the quintessential best guy, the best man, the number two guy, the guy in the chair" for Parker . Marvel used Ned Leeds as a basis for the character, who does not have a last name in the script or film, but essentially created their own character with him . Carroll said that Ned and other characters in the film are composites of several of their favorites from Spider - Man comics, and while Ned may eventually wind up with the last name "Leeds", it is not a guarantee . Laura Harrier portrays Liz, a senior, Parker's love interest, and Toomes' daughter, with a "type - A" personality . Tony Revolori plays Eugene "Flash" Thompson, Parker's rival and classmate . It was noted that the character is generally depicted as white in the comics and an important character to the fans, with Revolori "trying to do him justice". Rather than being a physically imposing jock, Thompson was re-imagined as "a rich, smug kid" to reflect modern views of bullying, by crafting him more into a social media bully and rival for Parker opposed to a jock; this depiction was largely informed by Holland's visit to The Bronx High School of Science . Revolori said that Thompson has to work hard to match Parker's intelligence, which is "one of the reasons he doesn't like Peter . Everyone else seems to like Peter, so he's like, why don't they like me like they like him?" Revolori gained 60 lb (27 kg) for the role . </P> <P> Garcelle Beauvais portrays Doris Toomes, Adrian's wife and Liz's mother, and Jennifer Connelly provides the voice of Karen, the A.I. in Parker's suit . Hemky Madera appears as Mr. Delmar, the owner of a local bodega . Bokeem Woodbine and Logan Marshall - Green both play different incarnations of Shocker, Herman Schultz and Jackson Brice respectively; both are accomplices of Toomes who use modified, vibro - blast shooting versions of Crossbones' gauntlets . Michael Chernus plays Phineas Mason / Tinkerer, and Michael Mando appears as Mac Gargan . Faculty at Parker's high school include: Kenneth Choi, who previously played Jim Morita in the MCU, as Jim's descendant Principal Morita; Hannibal Buress as Coach Wilson, the school's gym teacher, which he described as "one of the dumbass characters that don't realize (Parker is) Spider - Man"; Martin Starr, who previously had a non-speaking role in The Incredible Hulk identified as Amadeus Cho by the novelization for that film, as Mr. Harrington, a teacher and academic decathlon coach; Selenis Leyva as Ms. Warren; Tunde Adebimpe as Mr. Cobbwell; and John Penick as Mr. Hapgood . Parker's classmates include: Isabella Amara as Sally; Jorge Lendeborg Jr. as Jason Ionello; J.J. Totah as Seymour; Abraham Attah as Abraham; Tiffany Espensen as Cindy; Angourie Rice as Betty Brant; Michael Barbieri as Charles; and Ethan Dizon as Tiny . Martha Kelly appears in the film as a tour guide, and Kirk Thatcher makes a cameo appearance as a "punk", a homage to his role in Star Trek IV: The Voyage Home . Spider - Man co-creator Stan Lee also has a cameo, as a New York City apartment resident named Gary who witnesses Parker's confrontation with a neighbor . Jona Xiao was cast in an undisclosed role, but did not appear in the final film . </P> <P> Following the November 2014 hacking of Sony's computers, emails between Sony Pictures Entertainment Co-Chairman Amy Pascal and president Doug Belgrad were released, stating that Sony wanted Marvel Studios to produce a new trilogy of Spider - Man films while Sony retained "creative control, marketing and distribution". Discussions between Sony and Marvel broke down, and Sony planned to proceed with its own slate of Spider - Man films . However, in February 2015, Sony Pictures and Marvel Studios announced that they would release a new Spider - Man film, with Kevin Feige and Pascal producing . The character would first appear in an earlier Marvel Cinematic Universe film, later revealed to be Captain America: Civil War . Marvel Studios would explore opportunities to integrate MCU characters into future Spider - Man films, which Sony Pictures would continue to finance, distribute, and have final creative control . Both studios have the ability to terminate the agreement at any point, and no money was exchanged with the deal . However, a small adjustment was made to a 2011 deal formed between the two studios (where Marvel gained full control of Spider - Man's merchandising rights, in exchange for making a one - time payment of $175 million to Sony and paying up to $35 million for each future Spider - Man film, and forgoing receiving their previous 5% of any Spider - Man film's revenue), with Marvel getting to reduce their $35 million payment to Sony if the co-produced film grossed more than $750 million . Lone Star Funds also co-financed the film with Sony, via its LSC Film Corporation deal, covering 25% of the $175 million budget . </P>

Who played the gym teacher in spiderman homecoming