We present a highly repeatable, lithography-free and mold-free method for fabricating flexible optical lenses by in situ curing liquid polydimethylsiloxane droplets on a preheated smooth surface with an inkjet printing process. This method enables us to fabricate lenses with a focal length as short as 5.6 mm, which can be controlled by varying the droplet volume and the temperature of the preheated surface. Furthermore, the lens can be attached to a smartphone camera without any accessories and can produce high-resolution (1 μm) images for microscopy applications.