An electronic device according to the present invention includes: a
cavity, which is surrounded with a cavity wall portion and which has a
reduced pressure; a gettering thin film, which is arranged in the cavity
and has the function of adsorbing a surrounding substance; and an
activating portion, at least a part of which is arranged in the cavity
and which has the function of activating the gettering thin film by
generating heat.