positivevibesonly
positivevibesonly

Reputation: 3147

Android Studio Project Structure Dialog

My AS0.5.3 Project structure dialog box misses many options. enter image description here What's causing this? Now I'm trying to add a global library and I couldn't.

Update 1: After updating my AS to 0.5.5 this is how my project structure looks : enter image description here

Upvotes: 3

Views: 5436

Answers (2)

mha90
mha90

Reputation: 181

You can add dependencies to files easily by 1- Copying the jar files to your project directory (put them in libs folder inside your project module) 2- open your project dependencies and choose to add "file dependency" 3- locate the jar files and choose them

let me know if it is not working with you

Upvotes: 1

Scott Barta
Scott Barta

Reputation: 80010

Android Studio isn't the same as IntelliJ, and you don't tend to use global libraries the way you do there. Many libraries you need are available via the Maven Central repository, and you can have the build system download the correct version on the fly, instead of forcing you to maintain library jars by hand.

If you need to add a dependency to a common library, try the Modules > Dependencies > + button > Library dependency, and search for what you need.

If your dependency isn't on Maven Central, then you'll need to copy its jar archive into your project by hand. Android Studio doesn't presently have an equivalent to IntelliJ's global library feature.

Upvotes: 1

Related Questions