It seems China had a solution, but no more. When I grew up in China, cities had dedicated bike lanes. Each lane was at least 2-car wide, and was separated from car lanes by a green belt, so bicyclists were safe. The bike lanes disappeared or shrank in width as China got more and more cars, and the green belts were removed as well, making it a lot more dangerous for bicyclists.