SAN FRANCISCO — Plaintiffs lawyers accusing Google Inc. of illegally monopolizing the mobile search sector hit a roadblock Friday, when a federal judge tossed a proposed class action against the company.

U.S. District Judge Beth Labson Freeman of the Northern District of California ruled that the lawyers had failed to show how consumers were harmed by Google’s agreements with makers of Android smartphones to make its product their default search option.