USB Serial Errors

Rigsby

Member
Licensed User
Longtime User
For us mere mortals trying to get to grips with Android after years & years of VB - What does this mean ?

Thanks. R.


Compiling code. 0.01
Compiling layouts code. 0.00
Generating R file. 0.00
Compiling generated Java code. 1.08
Convert byte code - optimized dex. Error
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added: Lcom/hoho/android/usbserial/driver/UsbSerialProber$1;
at com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
at com.android.dx.dex.file.DexFile.add(DexFile.java:163)
at com.android.dx.command.dexer.Main.processClass(Main.java:486)
at com.android.dx.command.dexer.Main.processFileBytes(Main.java:455)
at com.android.dx.command.dexer.Main.access$400(Main.java:67)
at com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:394)
at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:131)
at com.android.dx.cf.direct.ClassPathOpener.processDirectory(ClassPathOpener.java:191)
at com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:123)
at com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:109)
at com.android.dx.command.dexer.Main.processOne(Main.java:418)
at com.android.dx.command.dexer.Main.processAllFiles(Main.java:329)
at com.android.dx.command.dexer.Main.run(Main.java:206)
at com.android.dx.command.dexer.Main.main(Main.java:174)
at com.android.dx.command.Main.main(Main.java:91)
1 error; aborting
Standard dexer.
 

Attachments

  • test.zip
    7.3 KB · Views: 241

Rigsby

Member
Licensed User
Longtime User
Thank you Erel, was getting a referenced library not found - so I copied it in multiple folders until that error went away - only to get this new error.

In the right folder, now it works. Thank you very much!

R.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…