“Conversion to Dalvik format failed with error 1” on external JAR

前端 未结 30 2440
抹茶落季
抹茶落季 2020-11-21 07:32

In my Android application in Eclipse I get the following error.

UNEXPECTED TOP-LEVEL EXCEPTION:
java.lang.IllegalArgumentException: already add

30条回答
  •  名媛妹妹
    2020-11-21 08:08

    Windows 7 Solution:

    Confirmed the problem is caused by ProGuard command line in the file
    [Android SDK Installation Directory]\tools\proguard\bin\proguard.bat

    Edit the following line will solve the problem:

    call %java_exe% -jar "%PROGUARD_HOME%"\lib\proguard.jar %*
    

    to

    call %java_exe% -jar "%PROGUARD_HOME%"\lib\proguard.jar %1 %2 %3 %4 %5 %6 %7 %8 %9
    

提交回复
热议问题