High-performance flexible lithium–oxygen (Li–O2) batteries with excellent safety and stability are urgently required due to the rapid development of flexible and wearable devices. Herein, based on an integrated solid-state design by taking advantage of component-interaction between poly(vinylidene fluoride-co-hexafluoropropylene) and nanofumed silica in polymer matrix, a stable quasi-solid-state electrolyte (PS-QSE) for the Li–O2 battery is proposed. The as-assembled Li–O2 battery containing the PS-QSE exhibits effectively improved anodic reversibility (over 200 cycles, 850 h) and cycling stability of the battery (89 cycles, nearly 900 h). The improvement is attributed to the stability of the PS-QSE (including electrochemical, chemical, and mechanical stability), as well as the effective protection of lithium anode from aggressive soluble intermediates generated in cathode. Furthermore, it is demonstrated that the interaction among the components plays a pivotal role in modulating the Li-ion conducting mechanism in the as-prepared PS-QSE. Moreover, the pouch-type PS-QSE based Li–O2 battery also shows wonderful flexibility, tolerating various deformations thanks to its integrated solid-state design. Furthermore, holes can be punched through the Li–O2 battery, and it can even be cut into any desired shape, demonstrating exceptional safety. Thus, this type of battery has the potential to meet the demands of tailorability and comformability in flexible and wearable electronics.