Provided is an aminopyridine compound represented by formula (1), or a salt of said compound. [In formula (1), R1 represents a hydrogen atom, a formyl group, a C1-8 alkylcarbonyl group or the like. R2 represents a hydrogen atom, a C1-8 alkyl group or the like. R31 represents a hydrogen atom, a halogen group, a cyano group, a C1-8 alkyl group or the like. R32 represents a halogen group, a cyano group, a C1-8 alkyl group or the like. n represents the number of R32 groups, and is an integer between 0 and 2, inclusive. E represents a divalent group comprising a ring selected from the group consisting of a benzene ring, a pyridine ring, a furan ring, a pyrroline ring, a tetrazoline ring, a thiazoline ring, and a pyrazoline ring. X represents -CH2-, -O-, -S-, -NH- or the like. A represents an optionally substituted C6-10 aryl group, or an optionally substituted 5- to 10-membered heterocyclyl group.]