Add SDK version limitation for 2.2. Over 2.2 is adopt to avoid strictmode.