An ammeter should be connected in series with the resistor to measure the current through it. If it is connected in parallel, its low resistance would cause a short circuit.
A voltmeter should be connected in parallel with the resistor to measure the voltage across it. If connected in series, its high resistance would cause no current to flow and thus it would show a very small or no reading.