An earthquake with a magnitude 7.7 struck 224 km east-southeast of Ambato, Ecuador, on Friday, according to the United States Geological Survey.