This paper reports on electrical resistance vs. aging time for the response of polyaniline films under exposure to water, ethanol and nitric acid (HNO3) solution. Camphor sulfonic acid-doped polyaniline films were prepared by a "doping-dedoping-redoping" method, the morphology and microstructures of the films were characterized by a scanning electron microscope and an x-ray diffractometer, the electrical resistance was measured by a four-probe method. It was found that a lower amount of water molecules infiltrating the film can decrease the film's resistance possibly due to an enhancement of charge carrier transfer between polyaniline chains, whereas excessive water molecules can swell inter-chain distances and result in a quick increase of resistance. The resistance of the film under exposure to ethanol increases and becomes much larger than the original value. However, HNO3 solution can decrease the film's resistance sharply possibly owing to doping effect of protonic acid. These results can help to understand the conduction mechanism in polyaniline films, and also indicate that the films have potential application in chemical sensors.