A$AP Rocky claims he is being extorted for $1 million by a former friend who claims he shot at him last year.
The 33-year-old rapper denies firing shots at A$AP Relli last November.
His lawyer Joe Tacopina told TMZ on Friday: "Rocky didn't commit a crime."
"It was an extortion attempt by a former associate, who threatened to make false criminal accusations if Rocky didn't pay him," Tacopina said.
Rocky's baby mama, Rihanna (right), was the one being extorted, since Rocky doesn't have $1 million cash.
Rocky was charged with two felony counts of assault with a semiautomatic firearm. He faces up to four years in jail on each charge if he's convicted.
Relli claims he got into an argument with Rocky on the night of November 6, and Rocky fired multiple shots at him. Relli says his hand was hit by bullet fragments.
But Tacopina claims he has eyewitnesses who swear Relli wasn't hit by bullet fragments because no gun was fired.
Tacopina told TMZ that he has two eyewitnesses who backed up Rocky's claims that shots were not even fired at Relli.
"What will become abundantly clear in the upcoming months, based on facts and evidence, is that Rocky is innocent of these charges," he said.
During a hearing on Friday, the judge continued a protective order against Rocky. But he ordered Relli not to attack or harass Rocky and to stay 100 yards away from him - because Rocky's life "is also in danger."
Rocky is free on $550,000 bond and his pre-trial hearing is set for November 2.