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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T18:36:11+00:00 2026-05-29T18:36:11+00:00

In my title, MrNomGame is a java file in com.game.mrnom folder (of src folder).

  • 0

In my title, MrNomGame is a java file in com.game.mrnom folder (of src folder).
When I run my app, Android Emulator error: The application has stopped unexpectedly.
When I view logCat, there are many errors. and above error is one of the first lines of logCat and directly tell about my error.
Here is also my manifest file:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.game.mrnom"
    android:versionCode="1"
    android:versionName="1.0" >

    <uses-sdk android:minSdkVersion="8" />

    <application

        android:debuggable="true" 
        android:icon="@drawable/icon"
        android:label="Mr.Nom" >


        <activity
            android:label="Mr.Nom Own"
            android:name="com.game.mrnom.MrNomGame"
            android:screenOrientation="portrait"
            android:configChanges="keyboard|keyboardHidden|orientation" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>


    </application>

    <uses-permission android:name="android.permission.WAKE_LOCK"/>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
    <uses-sdk android:targetSdkVersion="8" android:minSdkVersion="8"/>

</manifest>

I google and someone say that ADB bug when I refactor:rename a package (and I have tried this sometimes). but I still cannot fix it.

Help me about this error,please.

thanks 🙂

Here my error logcat:

02-11 21:12:46.858: D/AndroidRuntime(276): Shutting down VM 02-11
21:12:46.858: W/dalvikvm(276): threadid=1: thread exiting with
uncaught exception (group=0x4001d800)

02-11 21:12:46.958: E/AndroidRuntime(276): FATAL EXCEPTION: main

02-11 21:12:46.958: E/AndroidRuntime(276): java.lang.RuntimeException:
Unable to instantiate activity
ComponentInfo{com.game.mrnom/com.game.mrnom.MrNomGame}:
java.lang.ClassNotFoundException: com.game.mrnom.MrNomGame in loader
dalvik.system.PathClassLoader[/data/app/com.game.mrnom-1.apk]

02-11 21:12:46.958: E/AndroidRuntime(276): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585)

02-11 21:12:46.958: E/AndroidRuntime(276): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)

02-11 21:12:46.958: E/AndroidRuntime(276): at
android.app.ActivityThread.access$2300(ActivityThread.java:125)

02-11 21:12:46.958: E/AndroidRuntime(276): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)

02-11 21:12:46.958: E/AndroidRuntime(276): at
android.os.Handler.dispatchMessage(Handler.java:99) 02-11
21:12:46.958: E/AndroidRuntime(276): at
android.os.Looper.loop(Looper.java:123)

02-11 21:12:46.958: E/AndroidRuntime(276): at
android.app.ActivityThread.main(ActivityThread.java:4627)

02-11 21:12:46.958: E/AndroidRuntime(276): at
java.lang.reflect.Method.invokeNative(Native Method)

02-11 21:12:46.958: E/AndroidRuntime(276): at
java.lang.reflect.Method.invoke(Method.java:521)

02-11 21:12:46.958: E/AndroidRuntime(276): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)

02-11 21:12:46.958: E/AndroidRuntime(276): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)

02-11 21:12:46.958: E/AndroidRuntime(276): at
dalvik.system.NativeStart.main(Native Method)

02-11 21:12:46.958: E/AndroidRuntime(276): Caused by:
java.lang.ClassNotFoundException: com.game.mrnom.MrNomGame in loader
dalvik.system.PathClassLoader[/data/app/com.game.mrnom-1.apk]

02-11 21:12:46.958: E/AndroidRuntime(276): at
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)

02-11 21:12:46.958: E/AndroidRuntime(276): at
java.lang.ClassLoader.loadClass(ClassLoader.java:573)

02-11 21:12:46.958: E/AndroidRuntime(276): at
java.lang.ClassLoader.loadClass(ClassLoader.java:532)

02-11 21:12:46.958: E/AndroidRuntime(276): at
android.app.Instrumentation.newActivity(Instrumentation.java:1021)

02-11 21:12:46.958: E/AndroidRuntime(276): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577)

02-11 21:12:46.958: E/AndroidRuntime(276): … 11 more

02-11 21:12:54.277: I/Process(276): Sending signal. PID: 276 SIG: 9

02-11 21:12:58.157: D/AndroidRuntime(284): Shutting down VM

02-11 21:12:58.157: W/dalvikvm(284): threadid=1: thread exiting with
uncaught exception (group=0x4001d800)

02-11 21:12:58.207: E/AndroidRuntime(284): FATAL EXCEPTION: main

02-11 21:12:58.207: E/AndroidRuntime(284): java.lang.RuntimeException:
Unable to instantiate activity
ComponentInfo{com.game.mrnom/com.game.mrnom.MrNomGame}:
java.lang.ClassNotFoundException: com.game.mrnom.MrNomGame in loader
dalvik.system.PathClassLoader[/data/app/com.game.mrnom-1.apk]

02-11 21:12:58.207: E/AndroidRuntime(284): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2585)

02-11 21:12:58.207: E/AndroidRuntime(284): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)

02-11 21:12:58.207: E/AndroidRuntime(284): at
android.app.ActivityThread.access$2300(ActivityThread.java:125)

02-11 21:12:58.207: E/AndroidRuntime(284): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)

02-11 21:12:58.207: E/AndroidRuntime(284): at
android.os.Handler.dispatchMessage(Handler.java:99)

02-11 21:12:58.207: E/AndroidRuntime(284): at
android.os.Looper.loop(Looper.java:123)

02-11 21:12:58.207: E/AndroidRuntime(284): at
android.app.ActivityThread.main(ActivityThread.java:4627) 02-11
21:12:58.207: E/AndroidRuntime(284): at
java.lang.reflect.Method.invokeNative(Native Method)

02-11 21:12:58.207: E/AndroidRuntime(284): at
java.lang.reflect.Method.invoke(Method.java:521)

02-11 21:12:58.207: E/AndroidRuntime(284): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)

02-11 21:12:58.207: E/AndroidRuntime(284): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)

02-11 21:12:58.207: E/AndroidRuntime(284): at
dalvik.system.NativeStart.main(Native Method)

02-11 21:12:58.207: E/AndroidRuntime(284): Caused by:
java.lang.ClassNotFoundException: com.game.mrnom.MrNomGame in loader
dalvik.system.PathClassLoader[/data/app/com.game.mrnom-1.apk]

02-11 21:12:58.207: E/AndroidRuntime(284): at
dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243)

02-11 21:12:58.207: E/AndroidRuntime(284): at
java.lang.ClassLoader.loadClass(ClassLoader.java:573)

02-11 21:12:58.207: E/AndroidRuntime(284): at
java.lang.ClassLoader.loadClass(ClassLoader.java:532)

02-11 21:12:58.207: E/AndroidRuntime(284): at
android.app.Instrumentation.newActivity(Instrumentation.java:1021)

02-11 21:12:58.207: E/AndroidRuntime(284): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2577)

02-11 21:12:58.207: E/AndroidRuntime(284): … 11 more 02-11
21:17:58.297: I/Process(284): Sending signal. PID: 284 SIG: 9

  • 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-29T18:36:12+00:00Added an answer on May 29, 2026 at 6:36 pm

    Your error in manifest you should say

    <activity
                android:label="Mr.Nom Own"
                android:name=".MrNomOwn" <<<same name of your activity (case sensitive)
                android:screenOrientation="portrait"
                android:configChanges="keyboard|keyboardHidden|orientation" >
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.LAUNCHER" />
                </intent-filter>
            </activity>
    

    edit :
    you need to put constructor in your MrNomOwn activity as this :

    public MrNomOwn(){
    
    super();
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Title's about it. WPF app with some WCF stuff for IPC. I call Application.Current.Shutdown()
Title: Eclipse plug-in development Unable to instantiate class due to java.lang.NoClassDefFoundError: Trying to build
Title is pretty self-explanatory. I've got a DataGrid for a Windows Form Application, and
Title is fairly self-explanitory, I'm working on a Microsoft Surface application, and I don't
As title, how can I change default view without placing home.ctp in apps/views/pages/ folder?
Title is the entire question. Can someone give me a reason why this happens?
Title says what i'm trying to do. I can successfully generate an assembly if
Title says it mostly. I want to add a simple extension method to the
Title might be a bit confusing, so let me explain. I have a website
Title field is sealed. Any attempts to update the default value resets the value

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.