NOVELTY - An electronic device (P) consists of a gas-barrier film (F) obtained by laminating gas barrier layer (2) and inorganic polymer layer (3) on a resin base material (1). The gas barrier layer contains carbon atoms, silicon atoms, and oxygen atoms, and the composition changes to a layer thickness direction continuously. The inorganic polymer layer is formed by carrying out contraction process on polysilazane-containing film, and has shrinkage percentage of 10-30%. The difference of maximum extreme value of the carbon atoms with respect to minimum extreme value is 5 atomic% or more.    USE - Electronic device e.g. liquid crystal display element, organic electroluminescence element, and solar cell element is used in motor vehicles.    ADVANTAGE - The electronic device has excellent gas-barrier property, dark-spot tolerating property, flexibility, planarity, adhesiveness, and durability even at high temperature and humidity environment.    DETAILED DESCRIPTION - An electronic device consists of a gas-barrier film obtained by laminating gas barrier layer and inorganic polymer layer on a resin base material. The gas barrier layer contains carbon atoms, silicon atoms, and oxygen atoms, and the composition changes to a layer thickness direction continuously. The inorganic polymer layer is formed by carrying out contraction process on polysilazane-containing film, and has shrinkage percentage of 10-30%. The relationship between the distance from the surface of gas barrier layer in the layer thickness direction, and the ratio of the amount of carbon atoms with respect to the total amount of silicon atoms, oxygen atoms, and carbon atoms is determined using carbon distribution curves of each constitutent element based on element distribution measurement of depth direction by X-ray photoelectron spectroscopy. The difference of maximum extreme value of the carbon atoms with respect to minimum extreme value is 5 atomic% or more. The average atomic ratio in a region of 90% or more of the total thickness satisfies the relation: (carbon atom ratio) less than (silicon atom ratio) less than (oxygen atom ratio) (I), or (oxygen atom ratio) less than (silicon atom ratio) less than (carbon atom ratio) (II). An INDEPENDENT CLAIM is included for manufacture of gas-barrier film.    DESCRIPTION OF DRAWING(S) - The drawing shows the schematic view of the structure of electronic device.    Resin base material (1)    Gas barrier layer (2)    Inorganic polymer layer (3)    Gas-barrier film (F)    Electronic device (P)