A method of manufacturing a semiconductor device includes (a) fixing a cover
onto
a semiconductor substrate so as to place a surface of the cover that includes a
portion defining a first opening, face to face on a surface of the semiconductor
substrate that includes an electrode and (b) applying an adhesive to the inside
of the first opening.