On Jan 15, 6:58 pm, Neil <[email protected]> wrote: > I am new to Android development, and somewhat new to Java, but have a > good amount of C++ knowledge. I am having trouble using imported .jar > files to use in my code. I am trying to use the PostgreSQL JDBC driver > with my application, and I cannot create a connection. As soon as I > run this line of code: [...] > 01-16 02:53:50.024: WARN/dalvikvm(240): VFY: rejected Lorg/postgresql/ > jdbc4/AbstractJdbc4Connection;.setClientInfo (Ljava/lang/String;Ljava/ > lang/String;)V
org.postgresql.jdbc4.AbstractJdbc4Connection.setClientInfo (String,String) is attempting to access a static field that does not exist. Unfortunately the message doesn't tell you which field or which class the field was expected to be in. You can figure it out by running "dexdump -d" on the DEX file with setClientInfo() in it; the failing instruction is identified in the error message: > 01-16 02:53:50.024: WARN/dalvikvm(240): VFY: rejecting opcode 0x62 at 0x0005 The error message will be improved in a future release. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

