0

Okay I'm so close to throwing my computer out of the window. My head is boiling with rage lol

Im trying to Import the SlidingMenu lib into my brand new project. But I get an error: SHA-1 Mismatch. After a lot of digging, I found that I need to have only ONE android-support-v4.jar file in my libs folder. That's fine except...

  1. Which android-support-v4.jar am I suppose to delete? The one in my Project or the one from inside the SlidingMenu library? And

  2. Where am I suppose to add external jar? My project or the SlidingMenu library?

Thanks

KickAss
  • 4,210
  • 8
  • 33
  • 41

1 Answers1

0

You can add to both but they have to match in terms of version. Pick the most updated version and replace in the respective lib folder.

Both android-support-v4.jar have to be the same version, otherwise you will have that conflict.

nunofmendes
  • 3,731
  • 2
  • 32
  • 42
  • Okay, but my research showed that you delete one (don't know which one) and import the other ...v4.jar file via the add external jar... Is that incorrect or you can do it either way? – KickAss Sep 03 '13 at 16:19
  • Both ways are viable. But if you want to use only one, I suppose you keep the version in the SlidingMenu library since you are "importing" from it and not the other way around. – nunofmendes Sep 03 '13 at 16:20
  • I did: Import project as Library, then I deleted the .jar from MY project. Then I copied the .jar from the Library's \lib into my \lib and tried to run the project. Error: "Android library projects cannot be launched" – KickAss Sep 03 '13 at 16:26
  • You are trying to launch a library project (sliding menu) and not your project. Be sure to "click" the right project before launching. – nunofmendes Sep 03 '13 at 16:28
  • Solved that error. When I was importing the library, I checked the `IsLibrary` option for my project- thus declared my own project as a library... Woops – KickAss Sep 03 '13 at 16:32