An earthquake measuring 7.4-magnitude struck off Indonesia's Banten province. Authorities have issued a tsunami warning.