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

前端 未结 14 2049
半阙折子戏
半阙折子戏 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条回答
  •  -上瘾入骨i
    2020-11-27 11:47

    VERY SIMPLE SOLUTION

    A very simple solution worked for my case, just copy the same (android-support-v4.jar) jar file to all the projects. There will be no more conflict.

    1 Copy the jar file android-support-v4.jar from libs folder of any one project.

    2 Delete the jar file android-support-v4.jar from second project's libs folder which is already existing.

    3 Paste the newly copied jar file of first project to libs folder of second project.

    The jar mismatch issue will be resolved by now.

提交回复
热议问题