How can i add “Add External Jar” to my project in android

前端 未结 4 1090
梦毁少年i
梦毁少年i 2021-01-28 03:34

I want to add banner to my project. I have done some work in this regard, but i have problem in adding \"Add External jar\".

[Right click on my Project -> properties ->

相关标签:
4条回答
  • 2021-01-28 03:47

    There should be a jar file that you downloaded that contains he libraries you need. You'll need to select that jarfile for the step that you are doing currently.

    It is a good idea to keep that file within your project folder as well. Many people like to keep all of their libraries inside of a folder called libs within their project folder.

    0 讨论(0)
  • 2021-01-28 03:49

    How can i add “Add External Jar” to my project in android

    For, this i always follow below steps -

    1. Just create a libs folder on my project ->And, copy the .jar file to there.

    2. In your workspace select your project and right click -> on Properties, just go to Java Build Path

    3. Click the Add External jars it'll open the window dialog box -> root your workspace -> And, select your project -> go to libs folder -> choose the .jar file -> Click ok.

    Hope these steps helps you.

    0 讨论(0)
  • 2021-01-28 03:51

    I'm not sure what "banner" is, but if it's an Android Project it cannot be added as a JAR. Projects that have resources are not able to be fully externally liked libs.

    If indeed this is Android Project you will need to import the existing project into your Eclipse workspace here the steps http://developer.android.com/guide/developing/projects/projects-eclipse.html#SettingUpLibraryProject

    0 讨论(0)
  • 2021-01-28 03:57

    Create a folder called "libs" in your project.

    Go to that folder using Windows Explorer and copy the .jar file there.

    Refresh your project in eclipse and right click on the jar file and select "Add to Build Path" option.

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