anon
anon

Reputation: 59

How can I add the android support library to my netbeans project

specifically I just want to import ActionBarActivity to my net beans project... you would think that this would be a simple enough task, however that does not seem to be the case. I would be so grateful if there was a fairly simple way to do this... And please bear in mind I am on lesson one of the first android app tutorial on the android developers website so probably wont understand if you give me a hugely complex and technical answer.

Upvotes: 1

Views: 2084

Answers (2)

user5226477
user5226477

Reputation:

Open project properties, select "JAR Libraries", choose "Custom location", browse to desired directory and press open. You'll have your jar in "Referenced JRA libraries" below. Now just press OK.

PS. It's do not download libraries manually, instead use SDK manager. Open "Tools"->"Android SDK manager" and install desired library.

Upvotes: 0

brummfondel
brummfondel

Reputation: 1210

Copy the required file (eg. android-support-v13.jar) from the SDK directory into the libs folder in your project. Eg. from android-sdk/extras/android/support/v13.

First of all make sure to install the support lib with SDK manager.

Upvotes: 3

Related Questions