I have Android SDK installed in two different folders (slightly different versions) two copies of the same project open in both (that is, SDK1 - Project1; SDK2 -> Copy of Project1). SDK1 works fine, but SDK2 shows an error
Call requires API level 13 (current min is 8): android.view.Display#getSize
at the line
getWindowManager().getDefaultDisplay().getSize(p);
In the MainActivity class. How do I remove this?
(I am pretty sure this has something to do with the compiler options or something; SDK2 suggests that I just add @SuppressWarning to onCreate() while I don't need to do anything with SDK1; would simply suppressing warning be enough, or would it break my program in unexpected ways later)?