Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6146605
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:58:28+00:00 2026-05-23T18:58:28+00:00

To share some code between projects I created a new eclipse project marking it

  • 0

To share some code between projects I created a new eclipse project marking it as a library project, following google’s directions[1].

Everything compiles fine, but when I run the app it silently dies when it is unable to find the service. Logcat shows the following:

WARN/ActivityManager(52): Unable to start service Intent { cmp=com.iis.agatha/com.iis.common.services.FenceSyncService }: not found

As per the instructions[1] I have the library services referenced within the main project’s manifest file as well as the library project. I have tried refactoring the library project namespace to com.iis.agatha to match that main project without any luck.

<!-- SERVICES: Main project -->
<service android:name="com.iis.common.services.GeoLocationService" />
<service android:name="com.iis.common.services.FenceSyncService" />

<!-- SERVICES: Library project -->
<service android:name="com.iis.common.services.GeoLocationService" />
<service android:name="com.iis.common.services.FenceSyncService" />

Any ideas?

  1. http://developer.android.com/guide/developing/projects/projects-eclipse.html
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:58:28+00:00Added an answer on May 23, 2026 at 6:58 pm

    Some where when running into some other problems I foolishly moved the service xml tags up out of the <application /> and into the <manifest>. After moving them back all works fine.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Class Library project which houses some shared code between other projects
Can anyone help? I have some code that is shared between 2 projects. The
I have some code shared among multiple projects in a static library. Even with
I've used Clint Harris' tutorial to set up code sharing between projects, and everything
How can I share source code between 2 projects in MS Visual Studio 2008
I'd like to share some Ruby on Rails code between the PCs and the
I have some Code that I'd like to share between an iOS and an
Is it possible, in C#, to share code between Visual Studio projects without needing
I have some projects on bzr code repositories shared with colleagues. Problem is, I
I am trying to share a common namespace between two projects in a single

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.