title: JXTA Application on android
body: <p>I am trying to build an app that establishes P2P connection between two wifi enabled android device. I have added JXTA 2.5 library into android 2.2, but don't know where i am going wrong. Ending up with run-time exception: No Class found error and Instance not found error.</p>
  
  <p>Is there anything else to be done apart from just including .jar file into android project ?
  Any configuration to be written ? If yes, please let know how i can write configuration file and employ it in my project ? I am working on final year project, so please let me know if you have any pointers regarding this ?</p>
  
  <p>Thanks in advance !</p>
  
  <p>Here is  the Log :</p>
  
  <pre><code>04-24 22:41:47.429: I/dalvikvm(556): Could not find method org.apache.log4j.Logger.getLogger, referenced from method net.jxta.peergroup.PeerGroupFactory.&lt;clinit&gt;
  04-24 22:41:47.429: W/dalvikvm(556): VFY: unable to resolve static method 8971: Lorg/apache/log4j/Logger;.getLogger (Ljava/lang/String;)Lorg/apache/log4j/Logger;
  04-24 22:41:47.441: D/dalvikvm(556): VFY: replacing opcode 0x77 at 0x0010
  04-24 22:41:47.461: W/dalvikvm(556): VFY: unable to resolve static field 4047 (ERROR) in Lorg/apache/log4j/Level;
  04-24 22:41:47.461: D/dalvikvm(556): VFY: replacing opcode 0x62 at 0x0012
  04-24 22:41:47.461: W/dalvikvm(556): VFY: unable to resolve static field 4050 (WARN) in Lorg/apache/log4j/Level;
  04-24 22:41:47.461: D/dalvikvm(556): VFY: replacing opcode 0x62 at 0x000c
  04-24 22:41:47.469: W/dalvikvm(556): VFY: unable to resolve static field 4048 (FATAL) in Lorg/apache/log4j/Level;
  04-24 22:41:47.469: D/dalvikvm(556): VFY: replacing opcode 0x62 at 0x001a
  04-24 22:41:47.469: W/dalvikvm(556): VFY: unable to resolve static field 4048 (FATAL) in Lorg/apache/log4j/Level;
  04-24 22:41:47.480: D/dalvikvm(556): VFY: replacing opcode 0x62 at 0x0045
  </code></pre>