He alluded to human rights but did not get specific. “We will not agree on every issue,” he said, “and the United States will never waver in speaking up for the fundamental values that we hold dear  and that includes respect for the religion and cultures of all people.”

White House officials have been working for months to make sure that Mr. Obama’s three-day visit to Shanghai and Beijing conveys a conciliatory image. For instance, in June, the White House told the Dalai Lama that while Mr. Obama would meet him at some point, he would not do so in October, when the Tibetan spiritual leader visited Washington, because it was too close to Mr. Obama’s visit to China.

Greeting the Dalai Lama, whom China condemns as a separatist, weeks before Mr. Obama’s first presidential trip to the country could alienate Beijing, administration officials said. Every president since George H. W. Bush in 1991 has met the Dalai Lama when he visited Washington, usually in private encounters at the White House, although in 2007 George W. Bush became the first president to welcome him publicly, bestowing the Congressional Gold Medal on him at the Capitol. Mr. Obama met the Dalai Lama as a senator.

Similarly, while he was campaigning for the presidency, Mr. Obama several times accused China of manipulating its currency, an allegation that the current Treasury secretary, Timothy F. Geithner, repeated during his confirmation hearings. But in April, the Treasury Department retreated from that criticism, issuing a report that said China was not manipulating its currency to increase its exports.

While American officials said privately that they remained frustrated that China’s currency policies lowered the cost of Chinese goods and made American products more expensive in foreign markets, they said that they were relieved that China was fighting the global recession with an enormous fiscal stimulus program to spur domestic growth, and added that now was not the time to antagonize Beijing.

China is not viewed as a trouble spot for the United States. But this administration, like its predecessor, has had difficulty grappling with a rising power that seems eager to avoid direct clashes with the United States but affects its interests in many areas, including currency policy, nuclear proliferation, climate change and military spending.

In that regard, two members of Mr. Obama’s foreign policy team said that the United States’ interactions with the Chinese had been far too narrow in past years, focusing on counterterrorism and North Korea. Too little was done, they said, to address China’s energy and environmental policies, or its expansion of influence in Southeast Asia, South Asia and Africa, where China has invested heavily and used billions of dollars in aid to advance its political influence.