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 7536225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T06:31:01+00:00 2026-05-30T06:31:01+00:00

in my application I call startActivityForResult( new Intent(this, ShowPreferencesActivity.class), <some code>); the activity is

  • 0

in my application I call

startActivityForResult( new Intent(this, ShowPreferencesActivity.class), <some code>);

the activity is declared as :

package ca.qc.webalterpraxis.cinedroid.activity.preference;

public class ShowPreferencesActivity extends PreferenceActivity { ...}

and in my manifest I got :

<activty android:name=".activity.preference.ShowPreferencesActivity" android:label="@string/set_preferences">

But I receive an exception when I try to start the activity (in the first line of code of this question) :

E/AndroidRuntime(1830): android.content.ActivityNotFoundException: Unable to find explicit activity class {ca.qc.webalterpraxis.cinedroid/ca.qc.webalterpraxis.cinedroid.activity.preference.ShowPreferencesActivity}; have you declared this activity in your AndroidManifest.xml?

I tried everything I could :

  • replacing, in the manifest, the name of the class with the fully qualified name of the class
  • setting the intent class name using setClassName
  • providing a default filter for the activity

I relaunched eclipse around 10 times, rebooted my computer, erased the application from the device, resintalled, etc…

I don’t have any idea of what’s happening. And the worse is that it was working before, but not anymore after I renamed the class. Something strange : even if I rename the class now, the AndroidManifest won’t update in eclipse, I have to update it by hand..but it still works for other classes…

Also, please note that I have a test application, apart of the under test app, and the test app can’t find the activity to instrument it, neither.

Oh, and last but not least, I am 100 % sure that the ShowPreferencesActivity is in the resulting dex file, I dexdumped it to check.

Thanks in advance for your time.
(I use the maven-android-plugin)

  • 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-30T06:31:02+00:00Added an answer on May 30, 2026 at 6:31 am

    Thanks all, I found my problem : the tag in the manifest was

    <activty
    

    and not

    <activity
    

    But why does eclipse allow that ???!!!

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

Sidebar

Related Questions

I have DLL and application that will call some function in this dll. For
I use the below intent to call the camera application to capture video. This
Been trying to call Preferences.java class using: Intent settingsActivity = new Intent(getBaseContext(), Preferences.class); startActivity(settingsActivity);
when I call Application.Run() on a form, this command halts the program until the
I'm getting in trouble. I'm trying to emulate the call Application.Run using Application.DoEvents... this
I am building application that required some data from iPhone's Call log(read only). The
If my application is out of memory when i call new() i will get
I have a Activity called main. If I call Toast.makeText(this, Hello World from main,
Can a Silverlight application call a method in a full .NET c# class library?
I stumbled on this page Why shouldn’t I call Application.CreateForm . Now I have

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.