hi, below is the log from the Log Cat:
01-02 15:00:25.455: W/dalvikvm(300): threadid=1: thread exiting with uncaught exception (group=0x4001d800) 01-02 15:00:25.564: E/AndroidRuntime(300): FATAL EXCEPTION: main 01-02 15:00:25.564: E/AndroidRuntime(300): java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{vinayak.android.tipcalculator/ vinayak.android.tipcalculator.tipcalc}: java.lang.ClassNotFoundException: vinayak.android.tipcalculator.tipcalc in loader dalvik.system.PathClassLoader[/data/app/ vinayak.android.tipcalculator-1.apk] 01-02 15:00:25.564: E/AndroidRuntime(300): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2585) 01-02 15:00:25.564: E/AndroidRuntime(300): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java: 2679) 01-02 15:00:25.564: E/AndroidRuntime(300): at android.app.ActivityThread.access$2300(ActivityThread.java:125) 01-02 15:00:25.564: E/AndroidRuntime(300): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033) 01-02 15:00:25.564: E/AndroidRuntime(300): at android.os.Handler.dispatchMessage(Handler.java:99) 01-02 15:00:25.564: E/AndroidRuntime(300): at android.os.Looper.loop(Looper.java:123) 01-02 15:00:25.564: E/AndroidRuntime(300): at android.app.ActivityThread.main(ActivityThread.java:4627) 01-02 15:00:25.564: E/AndroidRuntime(300): at java.lang.reflect.Method.invokeNative(Native Method) 01-02 15:00:25.564: E/AndroidRuntime(300): at java.lang.reflect.Method.invoke(Method.java:521) 01-02 15:00:25.564: E/AndroidRuntime(300): at com.android.internal.os.ZygoteInit $MethodAndArgsCaller.run(ZygoteInit.java:868) 01-02 15:00:25.564: E/AndroidRuntime(300): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) 01-02 15:00:25.564: E/AndroidRuntime(300): at dalvik.system.NativeStart.main(Native Method) 01-02 15:00:25.564: E/AndroidRuntime(300): Caused by: java.lang.ClassNotFoundException: vinayak.android.tipcalculator.tipcalc in loader dalvik.system.PathClassLoader[/data/app/ vinayak.android.tipcalculator-1.apk] 01-02 15:00:25.564: E/AndroidRuntime(300): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:243) 01-02 15:00:25.564: E/AndroidRuntime(300): at java.lang.ClassLoader.loadClass(ClassLoader.java:573) 01-02 15:00:25.564: E/AndroidRuntime(300): at java.lang.ClassLoader.loadClass(ClassLoader.java:532) 01-02 15:00:25.564: E/AndroidRuntime(300): at android.app.Instrumentation.newActivity(Instrumentation.java:1021) 01-02 15:00:25.564: E/AndroidRuntime(300): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: 2577) 01-02 15:00:25.564: E/AndroidRuntime(300): ... 11 more Now can anybody help me in resolving the problem, as i am new to android. Regards, Vinayak On Jan 2, 5:22 pm, Jim Graham <spooky1...@gmail.com> wrote: > On Sun, Jan 01, 2012 at 05:44:05PM -0800, Vinu wrote: > > I DEVELOPED MY FIRST APP ON ANDROID IT COMPILES PROPERLY WITHOUT ANY > > ERROR, BUT WHEN I RUN IT IN EMULATOR OR PHONE IT CRASHES. > > > CAN ANY ONE HELP ME ..... > > 1) Please don't shout here...not only is it rude, it makes your text > hard to read. There is a key on your keyboard labelled (in English, > anyways...you may need to translate) "Caps Lock". Please use this > key to turn Caps Lock off (the little LED that says "Caps Lock" > will go off). > > 2) Nobody can help you if you don't post some useful information about > what's happening. Post the relevant portion (only) of the Logcat > data AND the section of the code that's causing the problem. Then > someone might help you. > > Later, > --jim > > -- > THE SCORE: ME: 2 CANCER: 0 > 73 DE N5IAL (/4) MiSTie #49997 < Running FreeBSD 7.0 > > spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W > > "'Wrong' is one of those concepts that depends on witnesses." > --Catbert: Evil Director of Human Resources (Dilbert, 05Nov09) > > Android Apps Listing athttp://www.jstrack.org/barcodes.html -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en