0

In my program, I can't import android.os.StrictMode even I change SDK version.What pronblem is it? In android.os, StrictMode can't be found. I don't know what to do.

  <uses-sdk
    android:minSdkVersion="9"
    android:targetSdkVersion="18" />
Spring Breaker
  • 8,233
  • 3
  • 36
  • 60
Halo
  • 729
  • 1
  • 8
  • 18

2 Answers2

0

Try changing the build target from project properties

Jerry Wattre
  • 204
  • 2
  • 8
0

Just verify once by doing this:
- Go to Project properties by right clicking on the project.
- Select Android from left pane and check API level > 9. I feel you select the maximum level because, it's just required for compilation. Anyway, you can set your min SDK version in Manifest file.
- Sometimes, it doesn't load Android APIs even though you have set it properly, so you have to do above mentioned step. Then, clean & build.

Manjunath
  • 2,063
  • 2
  • 29
  • 60