How can I create an Android library project in NetBeans IDE? The build target would be a JAR for use in another Android project. I’ve seen the documentation at http://developer.android.com/guide/developing/projects/projects-eclipse.html for creating a library project in Eclipse, but I’m using NetBeans. I do not see an isLibrary property available in the properties for the Android project. If there is not a built-in way to accomplish this, how might I go about manually setting up an Android library project? Forgive me if this is a thick question.
How can I create an Android library project in NetBeans IDE? The build target
Share
Netbeans is using the standard android project layout (see the features site) and the standard ant-based build. This means that there is a
project.propertiesfile in the project’s root. A library project hasandroid.library=truein it, along with the android target version (and eventually other android library references). This file can be viewed and opened underImportant Files. When cleaning and rebuilding, Netbeans behaves as if this is a lib project (does not create apk etc.)Otherwise, you could use the SDK
androidtool (located in$SDK/tools) to generate the lib project on the cmdline and then try to import it into Netbeans somehow.