Skip to content

Commit a2bf650

Browse files
committed
delete libs directory as an entry in src
The `libs` directory added as entry of src in .classpath will cause `Multiple dex files define` error, such as `Multiple dex files define Lorg/androidannotations/annotations/AfterExtras;`. The concrete reason is Eclipse will copy `jar` file in the 'libs` directory to `bin/classes`dirrectory, such as follows: F:\workspace\HelloWorldEclipse\bin>tree /F │ androidannotations.log │ AndroidManifest.xml │ R.txt │ resources.ap_ │ ├─classes │ │ androidannotations-api-3.1.jar │ │ │ ├─android │ │ └─support │ │ └─v7 │ └─org │ └─androidannotations ├─dexedLibs │ android-support-v4-259169c26135dabc8292fb369fe13d18.jar │ android-support-v7-appcompat-fe8356d7d51ca5e59edf416a1b47d8dc.jar │ androidannotations-api-3.1-4d54da3f520ba51cf94de9910532a000.jar │ appcompat_v7-b77d366902bda690e3b92b10d6dba35c.jar │ └─res └─crunch So, delete the entry.
1 parent 0fdddec commit a2bf650

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎examples/HelloWorldEclipse/.classpath‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
</classpathentry>
99
<classpathentry kind="src" path="src"/>
1010
<classpathentry kind="src" path="gen"/>
11-
<classpathentry kind="src" path="libs"/>
1211
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
1312
<classpathentry exported="true" kind="con" path="com.android.ide.eclipse.adt.DEPENDENCIES"/>
1413
<classpathentry kind="output" path="bin/classes"/>

0 commit comments

Comments
 (0)