the error is
emulator dislpay:
the application interface graphique has stopped unexpectedly , please try again.
in DDMS we can watch:
-29 15:19:15.558: INFO/ActivityManager(568): Start proc
m.dany.anrdoid.inertfacegraphiquevvm for activity
m.dany.anrdoid.inertfacegraphiquevvm/.InerfaceGraphiqueVVM: pid=1633 uid=10021
gids={}
07-29 15:19:15.757: DEBUG/dalvikvm(1626): LinearAlloc 0x0 used 637060 of
4194304 (15%)
07-29 15:19:16.828: DEBUG/AndroidRuntime(1633): Shutting down VM
07-29 15:19:16.828: WARN/dalvikvm(1633): threadid=3: thread exiting with
uncaught exception (group=0x4000fe70)
07-29 15:19:16.838: ERROR/AndroidRuntime(1633): Uncaught handler: thread main
exiting due to uncaught exception
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): java.lang.RuntimeException:
Unable to start activity
ComponentInfo{m.dany.anrdoid.inertfacegraphiquevvm/m.dany.anrdoid.inertfacegraphiquevvm.InerfaceGraphiqueVVM}:
android.content.ActivityNotFoundException: Unable to find explicit activity
class
{m.dany.anrdoid.inertfacegraphiquevvm/m.dany.anrdoid.inertfacegraphiquevvm.Tab1};
have you declared this activity in your AndroidManifest.xml?
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2268)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2284)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1692)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.os.Handler.dispatchMessage(Handler.java:99)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.os.Looper.loop(Looper.java:123)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.app.ActivityThread.main(ActivityThread.java:3948)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
java.lang.reflect.Method.invokeNative(Native Method)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
java.lang.reflect.Method.invoke(Method.java:521)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
dalvik.system.NativeStart.main(Native Method)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): Caused by:
android.content.ActivityNotFoundException: Unable to find explicit activity
class
{m.dany.anrdoid.inertfacegraphiquevvm/m.dany.anrdoid.inertfacegraphiquevvm.Tab1};
have you declared this activity in your AndroidManifest.xml?
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.app.Instrumentation.checkStartActivityResult(Instrumentation.java:1480)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.app.ActivityThread.resolveActivityInfo(ActivityThread.java:2072)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.app.LocalActivityManager.startActivity(LocalActivityManager.java:277)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.widget.TabHost$IntentContentStrategy.getContentView(TabHost.java:600)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.widget.TabHost.setCurrentTab(TabHost.java:310)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.widget.TabHost.addTab(TabHost.java:203)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
m.dany.anrdoid.inertfacegraphiquevvm.InerfaceGraphiqueVVM.onCreate(InerfaceGraphiqueVVM.java:25)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1123)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2231)
07-29 15:19:16.878: ERROR/AndroidRuntime(1633): ... 11 more
07-29 15:19:16.938: INFO/Process(568): Sending signal. PID: 1633 SIG: 3
07-29 15:19:16.948: INFO/dalvikvm(1633): threadid=7: reacting to signal 3
07-29 15:19:17.038: INFO/dalvikvm(1633): Wrote stack trace to
'/data/anr/traces.txt'
07-29 15:19:17.348: INFO/jdwp(1633): received file descriptor 24 from ADB
07-29 15:19:22.128: DEBUG/dalvikvm(608): GC freed 9300 objects / 524176 bytes
in 214ms
07-29 15:19:25.448: WARN/ActivityManager(568): Launch timeout has expired,
giving up wake lock!
07-29 15:19:26.168: WARN/ActivityManager(568): Activity idle timeout for
HistoryRecord{435ac5b8
{m.dany.anrdoid.inertfacegraphiquevvm/m.dany.anrdoid.inertfacegraphiquevvm.InerfaceGraphiqueVVM}}
07-29 15:19:31.489: DEBUG/dalvikvm(990): GC freed 940 objects / 56464 bytes in
300ms
***************************************************************************************************************
> Date: Wed, 29 Jul 2009 11:17:21 -0400
> From: [email protected]
> To: [email protected]
> Subject: [android-developers] Re: Button into a Tab error of xml
>
>
> Dayn wrote:
> > Android Emulator has an error .
>
> And the error is...what?
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Android 1.5 Programming Books: http://commonsware.com/books.html
>
> >
_________________________________________________________________
Découvrez toutes les possibilités de communication avec vos proches
http://www.microsoft.com/windows/windowslive/default.aspx
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---