The Fire and Disaster Management Agency issued an emergency alert at the time of the quake, predicting strong shaking in the area.
The Indonesian coast was struck by four earthquakes over the past 24 hours, according to the United States Geological Survey.