1

Hey I'm pretty new to android studio, and relatively new to android development and it recently occurred to me that I'm not sure whether to put libraries in the libs folder or set them up as as an external library - what's the difference?

Most of what I've found online explains how to include jar files in the libs folder and then compile in the app gradle. This is what I've tended to do, but I've seen projects that work differently and I'm wondering what the protocol is for this.

Also how do you make an external library? Do you just place the jar file in it?

Thanks!

AIntel
  • 1,087
  • 5
  • 14
  • 27
  • Check this, http://stackoverflow.com/questions/16601299/how-to-create-a-library-project-in-android-studio-and-an-application-project-tha – Ganesh AB Feb 28 '15 at 16:06

1 Answers1

2

There is no way to create an external library directly in Android Studio. You add a library to your libs folder or add a dependency to your build.gradle, then you reimport the project, and it appears as an external library.

In other words, there is no difference - it's the same thing.

yole
  • 92,896
  • 20
  • 260
  • 197