After an additional scan, the muscle tear that I sustained in Rome will unfortunately not allow me to compete in the grass court tournaments I was scheduled to play," Sharapova, who is on a comeback trail after serving a 15-month doping ban, said on her official Facebook page.
Sharapova opted not to apply for a wildcard into the main Wimbledon draw after her request for an invite into Roland Garros, where she is a twice former champion, was snubbed by French Open officials.
Wimbledon
Broady, Watson, Robson handed Wimbledon wildcards
21/06/2017 AT 09:55
The Russian's low ranking meant she was only guaranteed a place in the Wimbledon qualifying event if she wanted to secure a place in the July 3-16 grasscourt major.
However, the 2004 Wimbledon champion was granted a wildcard for the grasscourt warm-up tournament in Birmingham, England, which she will also miss.

Maria Sharapova (L) of Russia and Serena Williams of the U.S. hold their respective trophies after their women's final match at the Wimbledon Tennis Championships in London, July 3, 2004. Seventeen-year-old Sharapova won the match.

Image credit: Eurosport

"I want to thank the LTA for their amazing support on my return and providing me with a Birmingham wildcard, a tournament which I hope many of you will be able to attend," added the 178th-ranked Sharapova.
"I look forward to meeting you there next year. I will continue to work on my recovery and my next scheduled tournament is in Stanford."
The Stanford tournament begins at the end of July.
The five-times grand slam winner, who received wildcards to play in Stuttgart, Madrid and Rome after being left without a ranking when her doping ban ended, retired injured in her second round match at the Italian Open.
She was wearing a bandage on her thigh at the time.
Missing the whole grasscourt season means the 30-year-old Russian will not be ranked high enough for direct entry into the U.S. Open, where officials will have to decide whether to court controversy by offering a wildcard.
Wimbledon
Fire rages at Wimbledon as 20-strong crew tackle blaze
26/05/2017 AT 13:49
Wimbledon
Kvitova set for Wimbledon, less than seven months after stabbing
23/05/2017 AT 09:24