Xi, who will succeed President Hu Jintao later this year, said Thomas Donilon's visit shows the importance the US government attaches to relations with China.
Donilon spoke with Xi and met with a Chinese general yesterday after meeting with Hu the previous day. Details of their talks were not released.
One issue expected to have been discussed was Syria, where a violent fight to overthrow President Bashar Assad has escalated into a civil war.
China and Russia last week vetoed a UN Security Council resolution backed by the US and other Western nations that would have imposed new sanctions on Assad's regime.
Washington has also been pressing the Chinese military for more transparency about its plans, while Beijing is wary of the US military shift to the Asia-Pacific region.
It was not immediately known if the issues were raised in Donilon's meeting with Gen. Xu Caihou, a vice chairman of the Chinese Central Military Commission.
The official People's Daily reported that Hu and Donilon pledged to promote US-China relations. But the newspaper said Hu asked for a "cautious" approach in handling sensitive issues. It did not say what those issues were.
Donilon also met State Councilor Dai Bingguo, China's top diplomat, and Vice Premier Wang Qishan during his two-day visit. He is scheduled to visit Japan next.
Beijing: Chinese Vice President Xi Jinping said a consensus was reached on many points in bilateral talks with President Barack Obama's national security adviser, who concluded a visit to Beijing on Wednesday.
First Published: Wednesday, July 25, 2012, 18:38