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

Why I get error "Could not find MyLibrarry.apk!"

I have an android project that has a reference to project MyLibrary. I have checked Is Library for project MyLibrary and build it without error. I have added MyLibrary to Main Project in Properties->android->Library and Java Build Path in Projects…
Bob
  • 22,810
  • 38
  • 143
  • 225
0
votes
2 answers

Eclipse, Android ndk, source files, and library project dependencies

In Microsoft Visual Studio 2010, it is possible to create a Solution with multiple projects and set dependencies between projects. I'm trying to figure out if the same thing can be done using Eclipse via the NDK. More specifically, I want to know…
Android Noob
  • 3,271
  • 4
  • 34
  • 60
0
votes
3 answers

R File missing on library dependent project

I am trying to use jfeinstein10 / SlidingMenu http://goo.gl/PEZ9M in my android application.First I have added library project of Sliding Menu, then I added ActionBarSherlock too.Sliding Menu library is dependent to ActionBarSherlock. Also my app is…
kaplanfat
  • 154
  • 2
  • 11
0
votes
1 answer

Adding configuration to library project C#

I have a Console project and a Class library project in solution. Library prject is my Data Access Layer (DAL), also I am using NHibernate and NET Persistenc API in my DAL. As Iesi.Collections.dll is required for NHibernate, so while loading this…
Arry
  • 1,630
  • 9
  • 27
  • 46
0
votes
1 answer

How to add activity from Library project to the android project?

I have an android project, that uses library project. How to add the activity from the Library project to the AndroidMAnifest.xml of the android project.
Adham
  • 63,550
  • 98
  • 229
  • 344
0
votes
2 answers

what is the equivalent in windows phone 7 c# for the android library project?

i am new to windows phone 7 programming, I've been developing for android, i have developed an application using a library project in android and reference it in my client applications. my question is: is there any thing equvalent to alibrary…
user173488
  • 947
  • 1
  • 9
  • 20
0
votes
2 answers

Including Library Projects in Project Android

Is there a way to include a library project in a project without it being a separate project? The ideal situation is to be able to make code changes to the library project and push it to the git repo with the main referencing project.
taraloca
  • 9,077
  • 9
  • 44
  • 77
0
votes
1 answer

Import Android "Gridlayout library project" directly into my project

i already found out how to use the Gridlayout for Android 4.0 Devices. I downloaded the support library, imported it as a library project and then i referenced it as a library in my own project. But i want to have the library directly in my own…
user1663788
0
votes
1 answer

What assets are used in Library project?

There's something magic going on in one of my library projects. While layouts (res/layout) are fetched from the library project itself, files within the assets folder are fetched from the calling project (not the library project). I'm currently…
Harald Wilhelm
  • 6,656
  • 11
  • 67
  • 85
0
votes
1 answer

ANT Fails with Library Project (ActionBarSherlock, HoloEverywhere)

Yesterday i was able to fix all my previous issues and simple android apps are running without any problems. After setting everything up for them i tried to do the same for 3 of my more complex apps. All those apps use ActionBarSherlock and…
mikepenz
  • 12,708
  • 14
  • 77
  • 117
0
votes
2 answers

Library project recompilation and recompilation of dependent projects

If we build project A as library project and project B as a standard project which includes the library project A, what happens when I change code in library project A (i.e. project A gets recompiled)? Next time I recompile project B, does it…
Gianni Costanzi
  • 6,054
  • 11
  • 48
  • 74
-1
votes
1 answer

'Application' doesn't exist in System.Windows namespace (in library project)

I'm working on .net standard 2.0 library project for my solution. It have to include this method: public Task ShutdownAsync() { Application.Current.Shutdown(); } Problem is it gives me an error: The name 'Application' does not exist in the…
InfernumDeus
  • 1,185
  • 1
  • 11
  • 33
-1
votes
2 answers

Android: Reusability of code by creating a library project

I am trying to create a library project to reuse certain things which are common in many applications like splash screen, login screen, asynchronous thread calls for getting data from a URL, custom listView, DAO files, etc. I want to import this…
-1
votes
1 answer

Incorrect project module layout android studio gradle

The problem i am having is as follows: The root project of my android studio project should in fact be a module. I imported it ages ago from eclipse and it must not have created the common project -> module directory structure needed for gradle.…
sirFunkenstine
  • 8,135
  • 6
  • 40
  • 57
-1
votes
1 answer

Can not use R class of library project

I have a library project A: package com.a And I have another project B: package com.b In project B, I use com.a.R.xxx. <== It is OK. But when I set project B is library project, Eclipse said "com.a.R.xxx cannot be resolved to a variable". I…
merrymenvn
  • 878
  • 7
  • 12
1 2 3
12
13