Questions tagged [library-project]

A project that will be compiled as a library

A project that will be compiled as a library.

In Android:

A library project is a standard Android project, so you can create a new one in the same way as you would a new application project.

To create a new library project:

1 - Select File > New > Project.
2 - Select Android > Android Application Project, and click Next.
3 - Enter the basic settings for the project, including Application Name, Project Name, Package Name, and SDK settings.
4 - In the Configure Project page, select the Mark this project as a library option to flag the project as a library.
5 - Set the other options as desired and click Next.
6 - Follow the instructions to complete the wizard and create a new library project.

You can also convert an existing application project into a library. To do so, simply open the Properties for the project and select the is Library checkbox

182 questions
0
votes
1 answer

How to use github project as library in eclipse

Hi I have been trying to add this library project to my existing project in Eclipse. Its the first time I am going to use a library project and I am having tough time. looked around for may ways from tutorials and posts around but couldn't get it…
Utkarsh
  • 83
  • 2
  • 10
0
votes
1 answer

How to include library project in library project in Android Studio

I have a library project(Project A) in Eclipse that itself depends on a library project(Project B). How to include the Project A and Project B(on which Project A depends) as a library project in my Android Studio main Project (Project M)? I know the…
Utkarsh Srivastav
  • 3,105
  • 7
  • 34
  • 53
0
votes
1 answer

Proguard and Library Projects that references other Library Projects

We obfuscate a library project and distribute it as a standalone jar file. Our library was not dependent to other library projects before. But as google announced, after August 1 all newly submitted applications should use Advertising Id as device…
mehmet6parmak
  • 4,777
  • 16
  • 50
  • 71
0
votes
1 answer

about using a library project in eclipse

I have developed an Android library project, let's call it MyLibProject. For example, a class in MyLibProject: public class MyLibClass { ... public void doTask() {...} } Then, I start to develop an Android App project which uses the classes…
Leem.fin
  • 40,781
  • 83
  • 202
  • 354
0
votes
1 answer

Library Project Supporting Eclipse and Android Studio

I'm working on a library project that provides access to a service. We started the project few months ago and we were supporting Eclipse only (since Android Studio was a prewview edition). Now that Android Studio has become a "beta" version, and its…
fr4gus
  • 396
  • 7
  • 18
0
votes
1 answer

Android class GameHelper could not be found

Evrytime I want to start my app I crashs with following exception: 06-28 23:15:08.474: E/dalvikvm(27890): Could not find class 'com.google.example.games.basegameutils.GameHelper', referenced from method com.example.sample.MainActivity.onCreate 06-28…
0
votes
1 answer

Is it possible to add a externally-maintained project library, without copying?

I'm working with Android Studio 0.5.8. I have a Working project, and I want to reuse all its contents to make an almost identical app with only another name and different colors. Basically I want to make a library from the original app and reuse it…
0
votes
1 answer

configure proguard to optimize library projects (and not main project)

My app has 2 projects: A library project with everything (app-abstract.jar) The small launchable project, that runs it, and includes a third party library This way I can have several launchable projects for the different versions of the app…
rupps
  • 9,712
  • 4
  • 55
  • 95
0
votes
1 answer

How to make a library project that provide services for other APP to use?

Is there any way to create a Service in a library project for other APP to use through a .jar file? Currently I'm doing it this way: Create a Android library project with package name "com.m2x.myservice", write a Service class "MyService". When…
teejoe
  • 673
  • 2
  • 6
  • 17
0
votes
1 answer

re-style an activity defined in an library project

I've made an android-library consisting of two activities which are defined in the manifest of the library project and called from the other services in the same library. It works quite well so far but I don't want to hard code the design of the…
0
votes
1 answer

Using library project, "Sorry! The application... stopped unexpectedly"

I’m having trouble using Eclipse ADT projects as libraries. I have three projects in eclipse: ToolProject, AppProject, DevProject. The ToolProject contains classes I use in several apps (I actually have AppProject_2, as well, something completely…
Guy Smith
  • 178
  • 1
  • 12
0
votes
1 answer

Android library project "java.lang.NoClassDefFoundError"

Ok, first of all, I know, that many users asked this question many times in stackoverflow. I looked through all possible solutions, but still have problem. The problem: My IDE: Eclipse Standard/SDK Version: Kepler Release Build id: 20130614-0229 I…
0
votes
2 answers

how to access library class from another android project

Hi I am working with android.I had created a library project. Now I integrated it with my new app. Now how can I access the library main class to my new project ???
Manoj Varma
  • 70
  • 1
  • 12
0
votes
1 answer

How to display page from library project

I have a Base Project which is -Which is Windows Phone Class Library which is my library project , in that I have the following: 1) MainPage.xaml 2) AppSetting.cs class AppSettings { public virtual string getAppName() { …
0
votes
1 answer

Android studio add library project(using new project)

How can I add library project on my new project which is made by Android Studio ? I want to test open source project(HoloGraphLibrary) so made new Project on Android Studio. here is the project structure(Project name is Test44Project and Module name…