[sip-comm-dev] getting error while building project SIPCommunicatorAndroid through eclispe


#1

Hi,

Firstly i was trying to build the bundles through ant of (sc-android) but i was getting android gui related issues now i had commented all the issues in the source and succeded to build it through ant. I have copied all the bundles entries to SIPCommunicatorAndroid/res/raw. But now i am facing some problem while building SIPCommunicatorAndroid project using eclipse. Following are the details of error

UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lorg/kxml2/io/KXmlParser;
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.dx.dex.file.DexFile.add(DexFile.java:143)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.dx.command.dexer.Main.processClass(Main.java:299)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.dx.command.dexer.Main.processFileBytes(Main.java:276)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.dx.command.dexer.Main.access$100(Main.java:56)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:228)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.dx.command.dexer.Main.processOne(Main.java:245)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.dx.command.dexer.Main.processAllFiles(Main.java:183)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.dx.command.dexer.Main.run(Main.java:139)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at java.lang.reflect.Method.invoke(Unknown Source)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.ide.eclipse.adt.internal.sdk.DexWrapper.run(Unknown Source)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.ide.eclipse.adt.internal.build.ApkBuilder.executeDx(Unknown Source)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at com.android.ide.eclipse.adt.internal.build.ApkBuilder.build(Unknown Source)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:309)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid] at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
[2010-01-18 18:37:03 - SIPCommunicatorAndroid]1 error; aborting
[2010-01-18 18:37:03 - SIPCommunicatorAndroid]Conversion to Dalvik format failed with error 1

waiting to hear from you soon.

Regards

Imr@ñ Mëhm00d

···

_________________________________________________________________
Windows Live: Make it easier for your friends to see what you’re up to on Facebook.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009