morgan44 / backport-android-bluetooth

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

error add build path #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. backport-android-bluetooth2.jar  put src directory 
2. push eclipse menus [add build path] 

What is the expected output? What do you see instead?

I got massages .
[2010-01-19 00:59:07 - ConnectionTeam01]
UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already added:
Lbackport/android/bluetooth/BackportProperties;
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.dx.dex.file.ClassDefsSection.add(ClassDefsSection.java:123)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.dx.dex.file.DexFile.add(DexFile.java:143)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.dx.command.dexer.Main.processClass(Main.java:299)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.dx.command.dexer.Main.processFileBytes(Main.java:276)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.dx.command.dexer.Main.access$100(Main.java:56)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.dx.command.dexer.Main$1.processFileBytes(Main.java:228)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:245
)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.dx.cf.direct.ClassPathOpener.processOne(ClassPathOpener.java:130)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.dx.cf.direct.ClassPathOpener.process(ClassPathOpener.java:108)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.dx.command.dexer.Main.processOne(Main.java:245)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.dx.command.dexer.Main.processAllFiles(Main.java:183)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.dx.command.dexer.Main.run(Main.java:139)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
a:25)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
java.lang.reflect.Method.invoke(Method.java:585)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.ide.eclipse.adt.internal.sdk.DexWrapper.run(Unknown Source)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.ide.eclipse.adt.internal.build.ApkBuilder.executeDx(Unknown Source)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
com.android.ide.eclipse.adt.internal.build.ApkBuilder.build(Unknown Source)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:627)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:170)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:201)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:253)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:256)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:3
09)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:341)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:140)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:238)
[2010-01-19 00:59:07 - ConnectionTeam01]    at
org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
[2010-01-19 00:59:07 - ConnectionTeam01]1 error; aborting
[2010-01-19 00:59:07 - ConnectionTeam01]Conversion to Dalvik format failed
with error 1

What version of the product are you using? On what operating system?
2.1.1 and 
Eclipse SDK Version: 3.5.1

Please provide any additional information below.

I tried other directory and add library path (i.e... make lib/
not get error.

but,can't getDefaultAdapter() method call.

Original issue reported on code.google.com by bols-blu...@gtempaccount.com on 18 Jan 2010 at 4:28

GoogleCodeExporter commented 9 years ago
fixed in 2.1.2

Original comment by esma...@gmail.com on 19 Jan 2010 at 4:07

GoogleCodeExporter commented 9 years ago
Settings:
backport-android-bluetooth ver.2.2.1
Eclipse SDK Version: 3.5.1
Android 1.5

I got the messages:

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

Original comment by nunop...@gmail.com on 4 Mar 2010 at 8:16

GoogleCodeExporter commented 9 years ago
I got the same problem: any issue ?

Original comment by chrono...@free.fr on 8 May 2010 at 3:07