3

I am trying to import VMRuntime but i does not seem got

There were only got 3 packages which were dexclassloader, dexfile and pathclassloader.

import dalvik.system.VMRuntime <-- does not exist.

How to enable it?

Alan Lai
  • 1,296
  • 2
  • 12
  • 16

2 Answers2

3

It appears that class VMRuntime was removed in API 9:

http://developer.android.com/sdk/api_diff/9/changes/pkg_dalvik.system.html

Anonymous
  • 31
  • 1
1

There is no VMRuntime class in the Android SDK, let alone in the dalvik.system package. Hence, Eclipse is telling you that it does not exist in the Android SDK because it does not exist in the Android SDK.

CommonsWare
  • 986,068
  • 189
  • 2,389
  • 2,491