I think I found another solution to this question.
Go to Project > Properties > Java Build Path > tab [Order and Export] > Tick Android Version Checkbox
Then if your workspace does not build automatically…
Properties again > Build Project
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…