State Sen. John Liu ripped city schools chief Richard Carranza in Albany Tuesday for the chancellor’s treatment of Asian New Yorkers.

“You’ve got a city of 8.5 million people, you’ve got 1.2 million school kids, you’ve got to be chancellor for everybody,” Liu, the Senate’s Education Committee chair, told Carranza at a hearing. “You think you’re a chancellor for everybody?”

“Absolutely, sir,” Carranza replied.

“You think you might have some issues in the Asian American community?” Liu asked pointedly.

“I’m working hard to bridge whatever issues there exists in any one of our communities, even if there are individuals in lots of communities that do not like the equity agenda …,” Carranza replied, suggesting that the tensions stem from opposition to his school diversification efforts.

Carranza doubled down as Liu pressed the issue.

“There are voices that are working against that agenda and I’m going to continue to be a chancellor for all students . . . I’m not running for office, I’m not elected to office, I serve the children.”

That answer appeared to irk Liu, who said Asian suspicions of Carranza were a direct result of offensive DOE actions against the community.

The tense exchange came after a Twitter skirmish between the two men late last month after Carranza abruptly left a rowdy Queens community meeting. Liu chided him for leaving while Carranza said he wasn’t at the gathering and didn’t know what happened.

“It’s hard for you to get to a meeting where there are significant numbers of Asian American parents where you don’t get booed out,” Liu said Tuesday. “That’s the problem there, you have to work better at being a chancellor for all people. All families in the city of New York.”

Liu referenced another community meeting in Chinatown in August where the DOE supplied a Spanish interpreter but neglected a Chinese one.

“That’s just one of the issues why you’re not working hard enough to bridge the gap with the Asian American community,” he said.

The volleys continued, with Carranza telling Liu that he would welcome his assistance in healing rifts with Asians.

“Senator, as you and I have discussed I welcome your assistance in helping to bridge that gap,” he said.

“I’ve offered it many times,” Liu replied. “You haven’t taken me up.”

Earlier Tuesday, Liu and Carranza sparred on the controversial admissions process at the city’s specialized high schools.

Liu has simultaneously signaled support for the current single-test entry system while telling parents to prepare for inevitable changes to the status quo.

Along with Mayor Bill de Blasio, Carranza has backed a multiple measure admissions process to help boost black and Hispanic enrollment at the eight elite schools that are largely Asian and white.

The current system, they argue, is arbitrary and favors families with the time and means to prepare for the admissions exam.

While changing admissions criteria at Bronx Science, Brooklyn Tech and Stuyvesant High School would require undoing state law, Liu said the city could unilaterally modify the entry process at the other five schools.

Carranza countered that the process was “murky” and that City Hall viewed the specialized campuses as a single bloc.

Liu called that position “nonsense” and said Carranza was trying to “obfuscate some of the real issues.”