Mark-

Your advice is good, as always, but I think the OP will be in need of
advice that is a little more specific, namely, HOW is he going to find
the cause of the error using adb logcat etc?

Of course, since all we know is that he sees that one error, it is
hard to get more specific. But I believe it would be helpful to point
out to the OP in general terms what he should look for, i.e., look in
the stack trace containing the "unknown error" for any exceptions
involving his own package: if he finds one, he can be 99% certain that
is the cause of the error. If he does not find one, then it is harder:
he will have to figure out what it was that the Launcher needed to
start his app, but he forgot to provide, such as listing all required
permissions and Activities in the Manifest.

On Sep 5, 4:19 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> Use adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
> LogCat and look at the stack trace associated with your error.
>
>
>
> On Mon, Sep 5, 2011 at 11:05 PM, NWD Sports <nwdspo...@hotmail.com> wrote:
> > I have an app that I created that worked perfectly whenever I debugged it.
> > Now whenever I try to run it, I get an error saying “unexpected error
> > com.myPackageName.app could not be started.” the only option I get is to
> > force a close of the app. Does anyone know what is wrong?
>
> > Nicholas L. – NWD Sports.com
>
> > --
> > 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
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android Training in NYC:http://marakana.com/training/android/

-- 
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

Reply via email to