Same Issue

by Tin » Tue, 09 Mar 2010 01:44:04 GMT


Sponsored Links
 Hi, I also have same issue. The update works on 1.6 but not in 2.1.
The error is ERROR/DatabaseUtils(98):
java.lang.IllegalArgumentException: Empty values.

Anyone got solution for this please?

Thanks

--



Other Threads

1. Error using InstrumentationTestRunner with multiple projects

My application is seperated into three projects in eclipse.
The first one is a client Android Project called "Project A".
The second is a server Android Project called "ProjectB".
Lastly, I have "ProjectATest" for testing that has references
dependencies to "ProjectA" and "ProjectB".

When excuting InstrumentationTestRunner in "ProjectATest," I get the
following error message:

[2009-10-08 13:11:47 - ProjectATest]Launching instrumentation
android.test.InstrumentationTestRunner on device emulator-5554
[2009-10-08 13:12:01 - ProjectATest]Test run failed: cross-loader
access from pre-verified class

This is the error as pulled from LogCat:

10-08 04:11:44.089: ERROR/AndroidRuntime(760): Uncaught handler:
thread main exiting due to uncaught exception
10-08 04:11:44.110: ERROR/AndroidRuntime(760):
java.lang.IllegalAccessError: cross-loader access from pre-verified
class
10-08 04:11:44.110: ERROR/AndroidRuntime(760):     at
org.gynoid.db.ClassMetadata.initRelation(ClassMetadata.java:181)
10-08 04:11:44.110: ERROR/AndroidRuntime(760):     at
org.gynoid.GynApplication.onCreate(GynApplication.java:41)
10-08 04:11:44.110: ERROR/AndroidRuntime(760):     at
android.app.Instrumentation.callApplicationOnCreate
(Instrumentation.java:1045)
10-08 04:11:44.110: ERROR/AndroidRuntime(760):     at
android.app.ActivityThread.handleBindApplication(ActivityThread.java:
3622)
10-08 04:11:44.110: ERROR/AndroidRuntime(760):     at
android.app.ActivityThread.access$2500(ActivityThread.java:112)
10-08 04:11:44.110: ERROR/AndroidRuntime(760):     at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1729)
10-08 04:11:44.110: ERROR/AndroidRuntime(760):     at
android.os.Handler.dispatchMessage(Handler.java:99)
10-08 04:11:44.110: ERROR/AndroidRuntime(760):     at
android.os.Looper.loop(Looper.java:123)
10-08 04:11:44.110: ERROR/AndroidRuntime(760):     at
android.app.ActivityThread.main(ActivityThread.java:3948)
10-08 04:11:44.110: ERROR/AndroidRuntime(760):     at
java.lang.reflect.Method.invokeNative(Native Method)
10-08 04:11:44.110: ERROR/AndroidRuntime(760):     at
java.lang.reflect.Method.invoke(Method.java:521)
10-08 04:11:44.110: ERROR/AndroidRuntime(760):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:782)
10-08 04:11:44.110: ERROR/AndroidRuntime(760):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
10-08 04:11:44.110: ERROR/AndroidRuntime(760):     at
dalvik.system.NativeStart.main(Native Method)

Has anyone been able to accomplish this or have any suggestions as to
what I am doing wrong?

--~--~---------~--~----~------------~-------~--~----~

2. modify the drawable of an ImageView

HI
I have a gridView generated using BaseAdaptor. (and implementing methods
getView() , getCount() ,...)
My problem is that i want to specify a drwable image for each ImageView
created using BaseAdaptor.

i tried this line :


myBaseAdapterInstance.getView(i, null,
gridview).setImageDrawable(R.drawable.myimage);
where i is the position of the ImageView that i want.

But myImage isnt displayed on the gridView.

how can i fix it ?


Thx

--~--~---------~--~----~------------~-------~--~----~

3. Rotating in content gets clipped

4. how to get the postal addressed in Contacts

5. READ/WRITE HISTORY BOOKMARKS permissions broken???

6. simulating various sim cards in the emulator

7. Is there a visual guide to Android components?