Jar Mismatch Found 2 versions of android-support-v4.jar in the dependency list

前端 未结 14 2055
半阙折子戏
半阙折子戏 2020-11-27 11:32

I am trying to create 2 versions of an Android app (free/paid). I have an Android Library that contains files common to both. I created a new Android project and am trying t

14条回答
  •  攒了一身酷
    2020-11-27 11:54

    Any ideas on how to resolve this?

    Delete one.

    I've been playing with the build path to no success.

    Step #1: Undo all that. If you are messing with the build path, on R16 or higher version of the ADT plugin for Eclipse, you're doing it wrong.

    Step #2: Pick one of those two versions of the JAR, or pick the one from the "extras" area of your SDK installation.

    Step #3: Put the right JAR in App Library.

    Step #4: Delete the one from App Free, since it will pick up that JAR from App Library.

    You are welcome to instead have the same actual JAR file in both spots (App Free and App Library), though that just takes up extra space for no reason.

提交回复
热议问题