Code Monkey home page Code Monkey logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
solved. sry...was my mistake..

Original comment by [email protected] on 23 Oct 2011 at 12:27

from beginning-android-games.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
I'm actually having the very same problem, and I can't find what I'm doing 
wrong. What exactly was the mistake you were making? It would help me a great 
deal to know what to do to fix this issue; as far as I know I'm doing 
everything correctly. I appreciate any help or advice you can provide.

Original comment by [email protected] on 2 Feb 2012 at 12:46

from beginning-android-games.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
I made a mistake on rewriting the code. I don't remember where was the problem, 
but, try to look carefully what you wrote, and compare with the original 
version. I'm sure that the problem is that like was mine.

Original comment by [email protected] on 2 Feb 2012 at 8:02

from beginning-android-games.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
I had a similar problem to this! It was caused by the fact my package 
declaration in the manifest file was different from the package my MrNomGame 
class was in! 

Ex: xxx.android.com

while MrNom is in: xxx.android.com.mrnom

Original comment by [email protected] on 7 Feb 2012 at 12:40

from beginning-android-games.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
mrnom crashes on startup with this:
06-24 13:52:57.983: E/AndroidRuntime(888): java.lang.RuntimeException: Unable 
to instantiate activity 
ComponentInfo{com.badlogic.androidgames.mrnom/com.badlogic.androidgames.mrnom.Mr
NomGame}: java.lang.ClassNotFoundException: 
com.badlogic.androidgames.mrnom.MrNomGame
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1880)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
android.app.ActivityThread.access$600(ActivityThread.java:123)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
android.os.Handler.dispatchMessage(Handler.java:99)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
android.os.Looper.loop(Looper.java:137)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
android.app.ActivityThread.main(ActivityThread.java:4424)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
java.lang.reflect.Method.invokeNative(Native Method)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
java.lang.reflect.Method.invoke(Method.java:511)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
dalvik.system.NativeStart.main(Native Method)
06-24 13:52:57.983: E/AndroidRuntime(888): Caused by: 
java.lang.ClassNotFoundException: com.badlogic.androidgames.mrnom.MrNomGame
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:61)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
java.lang.ClassLoader.loadClass(ClassLoader.java:501)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
java.lang.ClassLoader.loadClass(ClassLoader.java:461)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
android.app.Instrumentation.newActivity(Instrumentation.java:1023)
06-24 13:52:57.983: E/AndroidRuntime(888):  at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1871)

Original comment by [email protected] on 24 Jun 2012 at 7:58

from beginning-android-games.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
In the manifest at the top you need to change the package.

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

Original comment by [email protected] on 18 Aug 2012 at 5:51

from beginning-android-games.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 15, 2024
I have similar problem. When I start my application, error apears: 
"Unforunately, MrNom stopped.". 
I have this text in console: 
[2013-07-08 13:37:03 - mrnom] Android Launch!
[2013-07-08 13:37:03 - mrnom] adb is running normally.
[2013-07-08 13:37:03 - mrnom] Performing 
com.badlogic.androidgames.mrnom.MrNomGame activity launch
[2013-07-08 13:37:03 - mrnom] Automatic Target Mode: using existing emulator 
'emulator-5556' running compatible AVD 'AVD_for_3_2in_QVGA_ADP2'
[2013-07-08 13:37:03 - mrnom] Uploading mrnom.apk onto device 'emulator-5556'
[2013-07-08 13:37:13 - mrnom] Installing mrnom.apk...
[2013-07-08 13:37:40 - mrnom] Success!
[2013-07-08 13:37:40 - mrnom] Starting activity 
com.badlogic.androidgames.mrnom.MrNomGame on device emulator-5556
[2013-07-08 13:37:41 - mrnom] ActivityManager: Starting: Intent { 
act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] 
cmp=com.badlogic.androidgames.framework/com.badlogic.androidgames.mrnom.MrNomGam
e }

and this text in Log Cat:


Original comment by [email protected] on 8 Jul 2013 at 9:55

Attachments:

from beginning-android-games.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.