On 5월13일, 오전5시04분, Dianne Hackborn <[email protected]> wrote:
> Is your app linking against a shared library with <uses-library> in your
> manifest?  If so, this is probably the bug I responded to the other day,
> that in the case where a widget receiver is the first thing launched into a
> process we don't correctly initialize its shared libraries.
>
>
>
>
>
> On Tue, May 12, 2009 at 10:27 AM, Hugh <[email protected]> wrote:
>
> > As an exercise I attempted to add an AppWidgetProvider-derived class
> > to one of our existing Android applications. When the widget is
> > created and appears on the home screen, the output from adb logcat
> > notes:
>
> > W/ActivityManager(   58): Unable to launch app com.mycompany.myapp/
> > 10042 for broadcast Intent
> > { action=android.appwidget.action.APPWIDGET_ENABLED comp=
> > {com.mycompany.myapp/com.mycompany.myapp.MyAppWidgetProvider} }:
> > process is bad
>
> > This output comes from around line 10814 in ActivityManagerService
> > (looking at cupcake on git). This is running on an ADP 1.5, FWIW.
>
> > The same AppWidget code, once separated from the main application's
> > project and put into its own simple project, runs as expected, so I
> > know my manifest entries/XML/Java are all as they should be.
>
> > Has anyone else run into this, or perhaps can the Android team comment
> > on what aspect of my application might be preventing the AM from
> > starting up the process when the widget is added to the home screen?
>
> > TIA!
>
> --
> Dianne Hackborn
> Android framework engineer
> [email protected]
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.- 원본 텍스트 숨기기 -
>
> - 원본 텍스트 보기 -

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to