2012-10-18 58 views
0

我嘗試將我的模塊(適用於Android)與鈦應用程序集成。java.lang.IllegalArgumentException:已添加:Lorg/w3c/dom/UserDataHandler;

我Integrade它後,我在tiapp.xml補充說:

<modules> 
     <module platform="android" version="1">com.android.manager</module> 
</modules> 

我得到錯誤:

[ERROR] System Error while compiling Android classes.dex 
[ERROR] 
[ERROR] UNEXPECTED TOP-LEVEL EXCEPTION: 
[ERROR] java.lang.IllegalArgumentException: already added: Lorg/w3c/dom/UserDataHandler; 
[ERROR]  at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123) 
[ERROR]  at com.android.dx.dex.file.DexFile.add(DexFile.java:163) 
[ERROR]  at com.android.dx.command.dexer.Main.processClass(Main.java:486) 
[ERROR]  at com.android.dx.command.dexer.Main.processFileBytes(Main.java:455) 
[ERROR]  at com.android.dx.command.dexer.Main.access$400(Main.java:67) 
[ERROR]  at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:394) 
[ERROR]  at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245) 
[ERROR]  at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131) 
[ERROR]  at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109) 
[ERROR]  at com.android.dx.command.dexer.Main.processOne(Main.java:418) 
[ERROR]  at com.android.dx.command.dexer.Main.processAllFiles(Main.java:329) 
[ERROR]  at com.android.dx.command.dexer.Main.run(Main.java:206) 
[ERROR]  at com.android.dx.command.dexer.Main.main(Main.java:174) 
[ERROR]  at com.android.dx.command.Main.main(Main.java:91) 
[ERROR] 1 error; aborting 
+0

有人,有人嗎? – nayden

+0

主要問題是,該名稱在:{code} @ Kroll.module(name =「SensorManager」,id =「com.android.manager」)的id不一樣,它是:com.android.manager。名稱...... – nayden

回答

0

的主要問題是,這個名字在:{}代碼@Kroll。 module(name =「SensorManager」,id =「com.android.manager」)的id不一樣,它是:com.android.manager.Name ......

相關問題