Reputation: 59
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
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
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