Error on add library project in eclipse

后端 未结 1 1705
感动是毒
感动是毒 2020-12-05 16:05

\"enter

I added library project inside eclipse. But i got following error



        
相关标签:
1条回答
  • 2020-12-05 16:28

    Use same android-support-v4.jar library in both library and your main project.

    To do this remove android-support-v4.jar file form both library and your main projects build path and then remove android-support-v4.jar from your libs path. Then reinsert same android-support-v4.jar in both library and main project. Then use add to build path to add lib to your projects.

    This will solve your problem.

    How to add or remove support lib in project

    How to Add Support Lib in Project :

    To add latest support lib to your android project do these steps :

    1. Right click on your android project.
    2. Select Android Tools
    3. Then select Add Support Library

    Then follow the screen instructions and this will add latest support library to your libs folder.

    How to add support lib to project

    Now right click on android-support-v4.jar file in libs folder and Add it to build path as I described. You will have the latest support lib in your project.

    UPDATE As 'Doctoror Drive' said you only need to add support library in your library project. So only add support library to your library project.

    0 讨论(0)
提交回复
热议问题