java - How to create a standalone library in Android using AndroidStudio? -


i new java/ android world. come c background. androidstudio / gradle stuff bit overwhelming me.

i looking create library using androidstudio. when click on "start new android studio project" asks me application name , activity et al. gets confusing me. why these details required create library module? missing here?

i know there file - > new module menu , stuff, comes later once have set applicaton details. here, dont want create application, lib (similar shared library create in c using makefiles/autotools).

also, library in android world jar file (like have *.so in c), right?

1) while android tools accept/use java jar files, jars don't contain android specific stuff resources (bitmaps,xml) necessary meta-data merge of client project. 'new' gradle based tools have aar format http://tools.android.com/tech-docs/new-build-system/aar-format , toolchain knows how handle them.

2) brings create aar file in android studio


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -