Questions tagged [libs]

It's a special folder in Java projects. It's used to store compiled libraries (jar files)

It's a special folder in Java projects.
It's used to store compiled libraries (jar files).
These libraries contain common blocks of code that may be reused inside an app.

171 questions
222
votes
7 answers

How to add 'libs' folder in Android Studio?

I need help in creating the 'libs' folder in Android Studio for my project (It is not auto-generated in my project). When I want to create a folder, it gives me lots of options, like AIDL, Assets, JNI, Java, Java Resources, Renderscripts, and 'res'…
Danzeeeee
  • 2,452
  • 2
  • 14
  • 16
30
votes
5 answers

What's the best way to format a phone number in Python?

If all I have is a string of 10 or more digits, how can I format this as a phone number? Some trivial examples: 555-5555 555-555-5555 1-800-555-5555 I know those aren't the only ways to format them, and it's very likely I'll leave things out if I…
Joe
  • 14,782
  • 10
  • 57
  • 69
28
votes
3 answers

Error:(27, 0) Project with path ':library' could not be found in project ':app'

I have copied this library folder in root of project but always getting: Error:(27, 0) Project with path ':library' could not be found in project ':app'. Open File Here is the…
Oreo
  • 2,480
  • 8
  • 35
  • 61
19
votes
1 answer

Adding Joda Time

I am building an app that uses time. I decided to use Joda time. I am trying to add joda time to my app. I have no experience with adding .jar files to the libs. I followed these steps(see bottom), or so I thought. My project is showing no errors,…
Chad Bingham
  • 28,578
  • 19
  • 82
  • 110
15
votes
6 answers

C++ mix new/delete between libs?

If I use the new keyword in my library (which is built differently than my main app), when I delete it in my main app with delete, is there a chance that I may get a crash/error?
user34537
13
votes
4 answers

How do I reference external jar files in a common directory (not libs) to build android project using ant?

I would like to build several android projects that reference the same jar files using ant. I do not want to copy the jar file to each libs directory in the project (due to how the source control tree is set up). The answers I find here say "put…
icecream
  • 975
  • 2
  • 12
  • 26
12
votes
2 answers

Android Studio 1.0.1 add external libraries

I have just downloaded Android Studio 1.0.1 and this is the new project structure and when i see it in the explorer there is a empty libs folder i want to import 3 external libraries i have, which i want to use. build.gradle has already defined…
Wasif Khalil
  • 2,008
  • 7
  • 26
  • 53
10
votes
3 answers

android mupdf libmupdf.so runtime error "No implementation found for native openFile"

I just finished compiling mupdf from mupdf.com on my mac. Took some time to figure it out but now I have a libmupdf.so in my libs/armeabi folder. They provide an example of this class called MuPDFCore.java which is viewable…
9
votes
2 answers

Gradle EAR with transitive libs from other projects

A Gradle build-script creates an EAR file with some jars and one war inside. This is all done in Maven before and is now a subject of migration to Gradle. ENV: Gradle 1.12 Groovy 2.2.1 Java 1.7.0_60 Oracle Eclipse Kepler SR…
marmelin
  • 261
  • 3
  • 9
9
votes
1 answer

Why my ffmpeg libs are so large?

I compiled ffmpeg libs on my Ubuntu 64-bits using the following script: mkdir ~/ffmpeg_sources #x264 …
user3504221
  • 91
  • 1
  • 4
9
votes
2 answers

An objcopy equivalent for Windows? (Hack for clashing lib symbols)

I'm looking for a Windows equivalent of the GNU tool objcopy. I'm looking to implement the suggestion posted here to my problem, however I need to do it cross-platform (Windows, Linux and Mac). I couldn't find the answer on my google friend, so…
Deathicon
  • 1,259
  • 1
  • 16
  • 31
8
votes
1 answer

How to edit .jar file in Android Studio

How can I edit code in a .class file in a .jar file using Android Studio? I have already tried to edit it of course. The class I am trying to edit is a read only for some reason.
Taylor Courtney
  • 693
  • 1
  • 5
  • 20
7
votes
2 answers

Multiple grails applications on Tomcat

I'm about to deploy several grails apps on top of a single Tomcat server, and I have the following doubts: In terms of memory usage: Does it make a difference to put the common grails libs under shared/lib instead of putting them in each app's war…
xain
  • 11,420
  • 17
  • 70
  • 116
6
votes
2 answers

Python - what is the libs subfolder for?

For me, it's located at C:\Python33\libs. For reference - this is not the same folder as C:\Python33\Lib - note the capitalization and lack of an 's'. On one computer I was working on, I simply dropped a .py file into the libs folder and could…
Kevin
  • 1,582
  • 2
  • 17
  • 22
6
votes
1 answer

What's the difference between dexedLibs and libs?

I'm moving from Eclipse to Android Studio, and I'm importing my project. I'm at the step where it's enquiring about libs in my old project. It has two sections, dexedLibs and Libs. Everything I had in my old project appears in dexedLibs, but a few…
fredley
  • 29,323
  • 39
  • 131
  • 223
1
2 3
11 12