Residents of a coastal area were advised to "immediately evacuate to a higher place."
A strong earthquake struck off the coast of Indonesia Friday, triggering a tsunami warning.
The United States Geological Survey said the quake, initially reported to be a magnitude 6.8 or 7, hit off the coast of the island of Sumatra at a depth of 37 miles.
The Indonesian National Board for Disaster Management said in a tweet Friday that people in the Banten coastal area should "immediately evacuate to a higher place."
Buildings in the capital of Jakarta swayed for nearly a minute during the quake and television footage showed people running out of high-rise buildings, according to the Associated Press.
There were no immediate reports of deaths or damage, Reuters reports.