1

我正在尝试编写一个例程,将联系人添加到我的 Android 手机的通讯录中。我收到以下异常:

D/dalvikvm(  784): GC freed 2736 objects / 171696 bytes in 71ms
E/IMemory (  784): binder=0x5b5248 transaction failed fd=-2147483647, size=0, err=-2147483646 (Unknown error: 2147483646)
E/IMemory (  784): cannot dup fd=-2147483647, size=0, err=-2147483646 (Bad file number)
E/IMemory (  784): cannot map BpMemoryHeap (binder=0x5b5248), size=0, fd=-1 (Bad file number)
E/JavaBinder(  784): *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
E/JavaBinder(  784): java.lang.RuntimeException: No memory in memObj
E/JavaBinder(  784): at android.database.CursorWindow.native_init(Native Method)
E/JavaBinder(  784): at android.database.CursorWindow.<init>(CursorWindow.java:518)
E/JavaBinder(  784): at android.database.CursorWindow.<init>(CursorWindow.java:27)
E/JavaBinder(  784): at android.database.CursorWindow$1.createFromParcel(CursorWindow.java:493)
E/JavaBinder(  784): at android.database.CursorWindow$1.createFromParcel(CursorWindow.java:496)
E/JavaBinder(  784): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:96)
E/JavaBinder(  784): at android.os.Binder.execTransact(Binder.java:287)
E/JavaBinder(  784): at dalvik.system.NativeStart.run(Native Method)

谁能详细说明上述日志的含义?

4

2 回答 2

0

I just fix this problem in my application. The problem is with closing the cursors, if you post your code I can correct it.

Marius

于 2011-07-27T14:44:53.823 回答
0

哇,这是一个奇怪的。

我认为这无济于事,但请检查一下:http ://groups.google.com/group/android-developers/browse_thread/thread/33fd9e9f7bd43d26?fwc=1

伊曼纽尔

于 2010-11-03T17:17:26.500 回答