Alan Lai
Alan Lai

Reputation: 1306

import dalvik.system.VMRuntime cannot find

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?

Upvotes: 3

Views: 5358

Answers (2)

Anonymous
Anonymous

Reputation: 31

It appears that class VMRuntime was removed in API 9:

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

Upvotes: 3

CommonsWare
CommonsWare

Reputation: 1006839

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.

Upvotes: 1

Related Questions