SAN FRANCISCO — Uber capped a difficult 2019 by posting faster growth in its ride-hailing business, even as it lost more money.

On Thursday, Uber said its revenue in the fourth quarter of 2019 increased 37 percent to $4 billion from a year ago, faster than the 30 percent growth it recorded in the previous quarter. The company lost $1.1 billion, more than the $887 million it lost a year earlier.

“We recognize that the era of growth at all costs is over,” said Dara Khosrowshahi, Uber’s chief executive. “I’m gratified by our progress, steadily delivering against the commitments we’ve made to our shareholders on our path to profitability.”

The results were driven by Uber’s main ride-hailing business, with the number of trips rising 28 percent to more than 1.9 billion from a year earlier and revenue increasing 27 percent to more than $3 billion. In contrast, Uber’s food delivery business, Uber Eats, lost $461 million on revenue of $734 million.