To investigate hydroelasticity effects on a single cavitation bubble dynamic, a focused laser was used to generate the bubble in water near a flexible aluminium foil fixed to a specimen holder with a circular aperture to allow the foil to vibrate. The bubble was generated below the foil's center. A laser-based optical sensor measured the displacement at the center of the foil. Simultaneously, a high-speed camera monitored the bubble's dynamics to correlate it with the foil's displacement. By directly measuring the foil's displacements, we provided building block missing in previous investigations. We found that a key difference between bubble dynamics near a rigid and an elastic structure was that, at relative wall distances larger or equal to unity, the bubble did not collapse on the elastic foil. The bubble's dynamics caused dominant foil displacements during its first growth (after plasma seeding) and during its subsequent collapse. Foil displacements during the bubble's first collapse were about twice as large as those during its growth phase. For lower relative wall distances, the induced foil displacements were significant until the bubble's third collapse. At larger relative wall distances, the bubble did not collapse on the elastic foil and, thus, it did not induce erosion. However, it caused foil vibrations and, therefore, may contribute to the foil's structural fatigue damage. Our study postulates that the cavitation may not be erosive, however it can induce impulsive loads causing vibrations and thereby fatigue damage of nearby structures.