A teenage tourist who claimed she was gang-raped in Cyprus has been arrested on suspicion of making it up — while the dozen Israelis who were arrested over the incident are all now free.

“Rape never took place,” one police source said of the accusations made by a 19-year-old British girl on July 17.

The teen had claimed she was gang-raped at her hotel in the popular Ayia Napa resort town, leading to the high-profile arrests of 12 Israeli teens as young as 15.

But she soon “changed her version” of what happened, according to lawyer Yaniv Habari, who represents one of those arrested.

She allegedly admitted to authorities that she made up the rape allegations because she was mad they filmed the sex without her consent and then kicked her out of their hotel room, according to the Times of Israel.

The accuser was arrested Sunday and is expected in court Monday, police spokesman Christos Andreou told the AFP.

“The alleged victim has refrained from her statement and will be charged with public nuisance for giving false testimony,” Ioannis Habaris, a lawyer for some of the suspects, told Reuters.

The tourist had filed a police report Wednesday claiming that the teens raped her the night before in a hotel where they were staying separately.

But the suspects claimed the woman struck up a friendship with two members of the group.

Other Israelis, meanwhile, said British guests at the hotel began attacking them after word of the alleged rape spread.

Three of the suspects — ranging in age from 15 to 18 — admitted to police that they had consensual sex with the woman, while the remaining nine said they had nothing to do with the incident.

Five of those initially arrested were released last Thursday, but seven had remained in custody until the sudden about-face in the investigation.

None were ever charged.

They had all returned home to Israel Sunday, with some chanting in Hebrew “The people of Israel lives” and “the Brit is a whore,” the Times of Israel reported.

“We will sue her for the anguish caused and for libel,” said Yona Golub, one of the five suspects released Thursday, according to the outlet. “I am walking in the street and people are calling me a rapist.”

With Post wires