1. A method of manufacturing a sensor, said method comprising: introducing a solution onto a flexible substrate comprising microelectrodes, the solution comprising metal or metal alloy core, ligand-capped nanoparticles comprising a nanoparticle capping ligand and molecular linkers connecting adjacent ones of the metal or metal alloy core, ligand-capped nanoparticles, the molecular linkers comprising mercaptocarboxylic acid with a carboxyl end forming hydrogen bonds with the metal or metal alloy core, ligand-capped nanoparticles; and curing the flexible substrate and solution to form a thin film that adheres to the flexible substrate via bonding that occurs between the flexible substrate, the microelectrodes, and the nanoparticle capping ligand of the ligand-capped nanoparticles.