Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
The application android has stopped unexpectedly
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  11 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Sunny  
View profile  
 More options Oct 12, 8:33 am
From: Sunny <atulpmaha...@gmail.com>
Date: Mon, 12 Oct 2009 05:33:00 -0700 (PDT)
Subject: The application android has stopped unexpectedly
Hi ,
I am testing basic AndroidPhoneDialer application on emulator my
console showing following result

[2009-10-12 17:56:25 - AndroidPhoneDialer]Android Launch!
[2009-10-12 17:56:25 - AndroidPhoneDialer]adb is running normally.
[2009-10-12 17:56:25 - AndroidPhoneDialer]Performing
com.example.AndroidPhoneDialer.AndroidPhoneDialer activity launch
[2009-10-12 17:56:25 - AndroidPhoneDialer]Automatic Target Mode: using
existing emulator 'emulator-5554' running compatible AVD 'MY_AVD'
[2009-10-12 17:56:25 - AndroidPhoneDialer]Uploading
AndroidPhoneDialer.apk onto device 'emulator-5554'
[2009-10-12 17:56:25 - AndroidPhoneDialer]Installing
AndroidPhoneDialer.apk...
[2009-10-12 17:56:32 - AndroidPhoneDialer]Success!
[2009-10-12 17:56:32 - AndroidPhoneDialer]Starting activity
com.example.AndroidPhoneDialer.AndroidPhoneDialer on device
[2009-10-12 17:56:40 - AndroidPhoneDialer]ActivityManager: Starting:
Intent { cmp=com.example.AndroidPhoneDialer/.AndroidPhoneDialer }

but emulator showing the massage: The application a AndroidPhoneDialer
has stopped unexpectedly

Please Help me out........


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Marco Nelissen  
View profile  
 More options Oct 12, 5:13 pm
From: Marco Nelissen <marc...@android.com>
Date: Mon, 12 Oct 2009 14:13:32 -0700
Local: Mon, Oct 12 2009 5:13 pm
Subject: Re: [android-developers] The application android has stopped unexpectedly
Instead of the "console", look at the system log (either using "adb
logcat" or with the ddms perspective in eclipse), and it will tell you
exactly where and why it crashed.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maxood  
View profile  
 More options Nov 6, 10:50 am
From: Maxood <maqs...@salsoft.net>
Date: Fri, 6 Nov 2009 07:50:15 -0800 (PST)
Local: Fri, Nov 6 2009 10:50 am
Subject: Re: The application android has stopped unexpectedly
Im also having the same issue here. What are the probable causes of
this runtime error...any clue? It is a very common error we see on
emulators and android powered devices.

On Oct 12, 1:13 pm, Marco Nelissen <marc...@android.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Murphy  
View profile  
 More options Nov 6, 11:06 am
From: Mark Murphy <mmur...@commonsware.com>
Date: Fri, 06 Nov 2009 11:06:24 -0500
Local: Fri, Nov 6 2009 11:06 am
Subject: Re: [android-developers] Re: The application android has stopped unexpectedly

Maxood wrote:
> Im also having the same issue here. What are the probable causes of
> this runtime error...any clue? It is a very common error we see on
> emulators and android powered devices.

Step #1: Use adb logcat, DDMS, or the DDMS perspective in Eclipse to
find the Java stack trace of the exception

Step #2: Fix the root cause of the exception

Step #3: There is no step #3

In other words, "this runtime error" is insufficient data for anyone to
provide assistance.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

App Widgets Deep Dive Seminar, 27 January 2010: http://bit.ly/deepdive


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maxood  
View profile  
 More options Nov 8, 1:25 pm
From: Maxood <maqs...@salsoft.net>
Date: Sun, 8 Nov 2009 10:25:07 -0800 (PST)
Local: Sun, Nov 8 2009 1:25 pm
Subject: Re: The application android has stopped unexpectedly
I have spotted where i was wrong and there was insufficient
data...right! My app is running just fine on the emulator.
Now i need to deploy my app on the device and need to know whether i
have to deploy/install the SQLite db file along with my app. Please
note that i haven't got any database file in my res/raw folder in
eclipse. Do i have to copy the database file and place it in my res/
raw folder and then deploy it on the device?

Because without the database file when i deploy my tried and tested
app on the device i get the same error: "The application
com.myapps.xxxx has stopped unexpectedly"

Please guide, thanks.

On Nov 6, 8:06 am, Mark Murphy <mmur...@commonsware.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Murphy  
View profile  
 More options Nov 8, 1:38 pm
From: Mark Murphy <mmur...@commonsware.com>
Date: Sun, 08 Nov 2009 13:38:41 -0500
Local: Sun, Nov 8 2009 1:38 pm
Subject: Re: [android-developers] Re: The application android has stopped unexpectedly

Maxood wrote:
> I have spotted where i was wrong and there was insufficient
> data...right! My app is running just fine on the emulator.
> Now i need to deploy my app on the device and need to know whether i
> have to deploy/install the SQLite db file along with my app.

From the standpoint of databases, devices and emulators are identical.
If it works on a clean emulator, it will work on a clean device. So,
create yourself a fresh AVD, install your app, and see what happens.

> Because without the database file when i deploy my tried and tested
> app on the device i get the same error: "The application
> com.myapps.xxxx has stopped unexpectedly"

Here it my advice again, updated:

Step #1: Use adb logcat, DDMS, or the DDMS perspective in Eclipse to
find the Java stack trace of the exception

Step #2: Fix the root cause of the exception

Step #3: There is no step #3

In other words, "The application com.myapps.xxxx has stopped
unexpectedly" is insufficient data for anyone to provide assistance.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maxood  
View profile  
 More options Nov 8, 2:24 pm
From: Maxood <maqs...@salsoft.net>
Date: Sun, 8 Nov 2009 11:24:35 -0800 (PST)
Local: Sun, Nov 8 2009 2:24 pm
Subject: Re: The application android has stopped unexpectedly
When i create a new AVD, as i am developing on Android 1.6 so i
selected API level 4 for Target. Now for the SD Card, do i have to
provide the file size or should i browse the file location and provide
the path in the second option? And what about Skin and Hardware?
Should i leave them as they are and carry on with default values?

On Nov 8, 10:38 am, Mark Murphy <mmur...@commonsware.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Murphy  
View profile  
 More options Nov 8, 3:20 pm
From: Mark Murphy <mmur...@commonsware.com>
Date: Sun, 08 Nov 2009 15:20:42 -0500
Local: Sun, Nov 8 2009 3:20 pm
Subject: Re: [android-developers] Re: The application android has stopped unexpectedly

Maxood wrote:
> Now for the SD Card, do i have to
> provide the file size or should i browse the file location and provide
> the path in the second option?

That is up to you. Unless you have an existing SD card image to work
with, the former option is probably simplest.

> And what about Skin and Hardware?
> Should i leave them as they are and carry on with default values?

That is up to you. You probably should be creating several AVDs to test
on different screen sizes.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Training: http://commonsware.com/training


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maxood  
View profile  
 More options Nov 10, 4:46 am
From: Maxood <maqs...@salsoft.net>
Date: Tue, 10 Nov 2009 01:46:46 -0800 (PST)
Local: Tues, Nov 10 2009 4:46 am
Subject: Re: The application android has stopped unexpectedly
I created a new AVD. On emulator when the touch event is fired i get
the same error: "The application android has stopped unexpectedly". In
my logcat window i have the following error messages:

11-10 01:43:24.144: DEBUG/dalvikvm(743): GC freed 987 objects / 79024
bytes in 99ms
11-10 01:43:24.324: DEBUG/AndroidRuntime(743): Shutting down VM
11-10 01:43:24.334: WARN/dalvikvm(743): threadid=3: thread exiting
with uncaught exception (group=0x4001aa28)
11-10 01:43:24.334: ERROR/AndroidRuntime(743): Uncaught handler:
thread main exiting due to uncaught exception
11-10 01:43:24.343: ERROR/AndroidRuntime(743):
android.database.CursorIndexOutOfBoundsException: Index 0 requested,
with a size of 0
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
android.database.AbstractCursor.checkPosition(AbstractCursor.java:580)
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
android.database.AbstractWindowedCursor.checkPosition
(AbstractWindowedCursor.java:172)
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
android.database.AbstractWindowedCursor.getString
(AbstractWindowedCursor.java:41)
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
com.myapps.facts.Facts.onTouchEvent(Facts.java:237)
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
android.app.Activity.dispatchTouchEvent(Activity.java:1990)
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
com.android.internal.policy.impl.PhoneWindow
$DecorView.dispatchTouchEvent(PhoneWindow.java:1696)
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
android.view.ViewRoot.handleMessage(ViewRoot.java:1658)
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
android.os.Handler.dispatchMessage(Handler.java:99)
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
android.os.Looper.loop(Looper.java:123)
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
android.app.ActivityThread.main(ActivityThread.java:4203)
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
java.lang.reflect.Method.invokeNative(Native Method)
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
java.lang.reflect.Method.invoke(Method.java:521)
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:791)
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:549)
11-10 01:43:24.343: ERROR/AndroidRuntime(743):     at
dalvik.system.NativeStart.main(Native Method)

Where am i wrong? Is there something wrong with the Cursor position?
How to resolve the issue? Please guide.Thanks

On Nov 8, 12:20 pm, Mark Murphy <mmur...@commonsware.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Maxood  
View profile  
 More options Nov 10, 6:18 am
From: Maxood <maqs...@salsoft.net>
Date: Tue, 10 Nov 2009 03:18:27 -0800 (PST)
Local: Tues, Nov 10 2009 6:18 am
Subject: Re: The application android has stopped unexpectedly
I'm also getting the following messages in my logcat window:

11-10 02:08:35.722: INFO/Process(571): Sending signal. PID: 769 SIG: 3
11-10 02:08:35.722: INFO/dalvikvm(769): threadid=7: reacting to signal
3
11-10 02:08:35.722: ERROR/dalvikvm(769): Unable to open stack trace
file '/data/anr/traces.txt': Permission denied
11-10 02:08:35.783: WARN/WindowManager(571): No window to dispatch
pointer action 1
11-10 02:08:36.872: INFO/Process(769): Sending signal. PID: 769 SIG: 9
11-10 02:08:36.882: INFO/ActivityManager(571): Process
com.myapps.facts (pid 769) has died.
11-10 02:08:36.902: INFO/WindowManager(571): WIN DEATH: Window
{438db578 com.myapps.facts/com.myapps.facts.Facts paused=false}
11-10 02:08:36.943: WARN/UsageStats(571): Unexpected resume of
com.android.launcher while already resumed in com.myapps.facts
11-10 02:08:37.142: WARN/InputManagerService(571): Got RemoteException
sending setActive(false) notification to pid 769 uid 10023

Whats the issue?

On Nov 8, 12:20 pm, Mark Murphy <mmur...@commonsware.com> wrote:


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Mark Murphy  
View profile  
 More options Nov 10, 12:22 pm
From: Mark Murphy <mmur...@commonsware.com>
Date: Tue, 10 Nov 2009 12:22:58 -0500
Local: Tues, Nov 10 2009 12:22 pm
Subject: Re: [android-developers] Re: The application android has stopped unexpectedly

Maxood wrote:
> I created a new AVD. On emulator when the touch event is fired i get
> the same error: "The application android has stopped unexpectedly". In
> my logcat window i have the following error messages:

> 11-10 01:43:24.144: DEBUG/dalvikvm(743): GC freed 987 objects / 79024
> bytes in 99ms
> 11-10 01:43:24.324: DEBUG/AndroidRuntime(743): Shutting down VM
> 11-10 01:43:24.334: WARN/dalvikvm(743): threadid=3: thread exiting
> with uncaught exception (group=0x4001aa28)
> 11-10 01:43:24.334: ERROR/AndroidRuntime(743): Uncaught handler:
> thread main exiting due to uncaught exception
> 11-10 01:43:24.343: ERROR/AndroidRuntime(743):
> android.database.CursorIndexOutOfBoundsException: Index 0 requested,
> with a size of 0

You appear to be handing something an empty cursor, or the cursor is
becoming empty unexpectedly.

--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android App Developer Training: http://commonsware.com/training


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google