1

我打电话时得到ISECookieManager.getInstance().getCookie(url)

I/dalvikvm( 1022): java.lang.IllegalStateException: Call CookieSyncManager::createInstance() or create a webview before using this class
I/dalvikvm( 1022):     at android.webkit.JniUtil.checkInitialized(JniUtil.java:45)
I/dalvikvm( 1022):     at android.webkit.JniUtil.getDatabaseDirectory(JniUtil.java:66)
I/dalvikvm( 1022):     at android.webkit.CookieManager.nativeGetCookie(Native Method)
I/dalvikvm( 1022):     at android.webkit.CookieManager.getCookie(CookieManager.java:496)
I/dalvikvm( 1022):     at android.webkit.CookieManager.getCookie(CookieManager.java:460)

谁能指出它为什么会发生以及如何解决它?

提前非常感谢!

4

0 回答 0