China detected African swine fever virus in live pigs being transported to the northeastern Liaoning province, the official Xinhua News Agency said on Saturday, underlining the challenge facing Beijing in its bid to control the contagious disease.