Home » Android » twitter – Adding a JAR file to an Android application

twitter – Adding a JAR file to an Android application

Posted by: admin June 15, 2020 Leave a comment

Questions:

I want to add the jTwitter library to my application.

How can I add and build the path for it?

How to&Answers:

Hai Nikki,

If you are using Eclipise IDE, then follow these steps shown below.
step1:
Right click the project Name, there yiu find a option Build path(Refer Figure1)

step2: click Build path then configure Build path(Refer figure2), a dialog box will appear, in that click Add External Jars , select and add it(refer figure3).

figure 1:

alt text

figure2:

alt text

figure 3:
alt text

Answer:

In case you are using Eclipse go to ProjectProperties there navigate to Java Build Path on the tab Libraries hit the Add External JARs button and select your JAR file.