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

  • SEARCH
  • Home
  • 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 7429807
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:02:12+00:00 2026-05-29T09:02:12+00:00

I am having this error after I tidy up my codes into different subpackage

  • 0

I am having this error after I tidy up my codes into different subpackage name.

ERROR/AndroidRuntime(5879): java.lang.RuntimeException: Unable to instantiate receiver sg.pms.ConnectivityHandler: java.lang.ClassNotFoundException: sg.pms.ConnectivityHandler in loader dalvik.system.PathClassLoader[/data/app/sg.pms-1.apk]

An activity (in the main package) which will execute this code.

package sg.pms;
...
...

protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);

    // Register a timer to trigger ConnectivityHandler task every 10minutes
    Intent intent = new Intent(this, ConnectivityHandler.class);
    PendingIntent pendingIntent = PendingIntent.getBroadcast(this,
            234324243, intent, 0);
    AlarmManager alarmManager = (AlarmManager) getSystemService(ALARM_SERVICE);
    alarmManager.setRepeating(AlarmManager.RTC, 0, 60 * 1000,
            pendingIntent);
}

ConnectivityHandler class in a subpackage.

package sg.pms.connectivity;
...
public class ConnectivityHandler extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        ...
    }
}

How do I fix this?

EDIT:
Seems like it may be a bug in Eclipse. I perform a cleanup of the project space and do a build again and it solves this “mislink” problem.

  • 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-29T09:02:13+00:00Added an answer on May 29, 2026 at 9:02 am

    ClassNotFoundException: ConnectivityHandler is giving you the details of the issue.

    sg.pms.ConnectivityHandler

    Are you sure this ConnectivityHandler is still in this package?

    It looks to be in

    sg.pms.connectivity

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

Sidebar

Related Questions

I am having this error in my j2ee web application. java.sql.SQLException: ORA-00604: error occurred
I'm getting this error after having installed Magento 1.6.1 and wampserver 2.2 (64 bit)
I'm having this error when I try to access one table: 02-19 16:46:01.677: E/AndroidRuntime(13159):
I`m having the following error . Why am I having this error and how
I am having this bizarre error and I don't know what to do. This
I'm having an issue integrating flex with ruby on rails. I get this error:
I'm having trouble with this PHP script where I get the error Fatal error
I'm having trouble overriding a ModelForm save method. This is the error I'm receiving:
What is wrong with this statement? I`m having the following error: Error 10 'System.Web.Mvc.HtmlHelper'
OK, I'm having this very very simple error, but I can't figure it out

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.