A method of making a stack of the type comprising a first electrode, an active layer, and a second electrode, for use in an electronic device, in particular of the organic photodetector type or the organic solar cell type, the method comprising the following steps:
- a) depositing a first layer (2) of conductive material on a substrate (1) in order to form the first electrode;
- b) depositing an active layer (3) in the form of a thin organic semiconductor layer, this layer including non-continuous zones (30);
- c) locally eliminating the first conductive layer (2) through the non-continuous zones (30) of the active layer (3) by chemical attack;
- and
- d) depositing a second layer (4) of conductive material on the active layer (3) in order to form the second conductive electrode.