3

I am facing an issue while trying to use the spring android framework. I have tried the samples according to this link. Actually I can't get it to work. Because when I try to import the spring-android-rest-template-1.0.0.M1.jar and spring-android-commons-logging-1.0.0.M1.jar it gives an error saying

Conversion to Dalvik format failed with error 1

Therefore I was not able to complete the sample program.

I have downloaded the the jar files separately. It gives no errors in the code. But a top level error is generating.

Why is this error occurring, has anyone else got the same issue ?

CraigTeegarden
  • 8,173
  • 8
  • 38
  • 43
nala4ever
  • 757
  • 2
  • 8
  • 18

1 Answers1

1

I was getting the same error too, used the solution noted here: "Conversion to Dalvik format failed with error 1" on external JAR removing all libraries from build path, clean and rebuild, then adding just the spring-android-rest-template-1.0.0.BUILD-SNAPSHOT.jar

Community
  • 1
  • 1
scottyab
  • 23,621
  • 16
  • 94
  • 105
  • Hi scotty, Yes you are correct, however when i posted this issue in the spring community they have accepted that there was an issue and tracked the bug in their bug tracker. Now it has been fixed i think. – nala4ever Dec 20 '10 at 04:11