kiah2008 / android-bluetooth

Automatically exported from code.google.com/p/android-bluetooth
0 stars 0 forks source link

Included in build path under Eclipse, will not compile #9

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open project in Eclipse
2. Create folder in project called lib, drop jar library inside
3. Refresh files, right click AndroidBluetoothAPI_0.3b1.jar, select build
path -> add to build path

What is the expected output? What do you see instead?
Expected result is clean compile. I get this error:

java.lang.IllegalArgumentException: already added:
Landroid/bluetooth/IBluetoothDeviceCallback$Stub$Proxy;
[2009-10-08 22:06:31 - HelloAndroid]    at
com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
[2009-10-08 22:06:31 - HelloAndroid]    at
com.android.dx.dex.file.DexFile.add(DexFile.java:143)
[2009-10-08 22:06:31 - HelloAndroid]    at
com.android.dx.command.dexer.Main.processClass(Main.java:299)
[2009-10-08 22:06:31 - HelloAndroid]    at
com.android.dx.command.dexer.Main.processFileBytes(Main.java:276)

What version of the product are you using? On what operating system?
Using AndroidBluetoothAPI_0.3b1.jar, on Gentoo OS.

Please provide any additional information below.

1.5 SDK

Original issue reported on code.google.com by john5...@gmail.com on 9 Oct 2009 at 5:18

GoogleCodeExporter commented 8 years ago

Original comment by gerda...@gmail.com on 18 Oct 2009 at 7:02