简体   繁体   中英

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.

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM