Autore Topic: errore strano  (Letto 1931 volte)

Offline raimondo

  • Utente junior
  • **
  • Post: 130
  • Respect: 0
    • Mostra profilo
errore strano
« il: 12 Dicembre 2011, 23:12:05 CET »
0
salve ragazzi ho questo errore strano e nn capisco cos'è qualcuno potrebbe aiutarmi? grazie
Codice: [Seleziona]
12-12 22:59:48.330: ERROR/AndroidRuntime(406): FATAL EXCEPTION: main
12-12 22:59:48.330: ERROR/AndroidRuntime(406): java.lang.RuntimeException: Unable to start activity ComponentInfo{android.contact/android.contact.ContactNotifyActivity}: java.lang.RuntimeException: Your content must have a TabHost whose id attribute is 'android.R.id.tabhost'
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1622)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1638)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at android.app.ActivityThread.access$1500(ActivityThread.java:117)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:928)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at android.os.Handler.dispatchMessage(Handler.java:99)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at android.os.Looper.loop(Looper.java:123)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at android.app.ActivityThread.main(ActivityThread.java:3647)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at java.lang.reflect.Method.invokeNative(Native Method)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at java.lang.reflect.Method.invoke(Method.java:507)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at dalvik.system.NativeStart.main(Native Method)
12-12 22:59:48.330: ERROR/AndroidRuntime(406): Caused by: java.lang.RuntimeException: Your content must have a TabHost whose id attribute is 'android.R.id.tabhost'
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at android.app.TabActivity.onContentChanged(TabActivity.java:105)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:210)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at android.app.Activity.setContentView(Activity.java:1657)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at android.contact.ContactNotifyActivity.onCreate(ContactNotifyActivity.java:30)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1586)
12-12 22:59:48.330: ERROR/AndroidRuntime(406):     ... 11 more
12-12 23:04:24.160: ERROR/AndroidRuntime(441): FATAL EXCEPTION: main
12-12 23:04:24.160: ERROR/AndroidRuntime(441): java.lang.RuntimeException: Unable to start activity ComponentInfo{android.contact/android.contact.ContactNotifyActivity}: java.lang.RuntimeException: Your content must have a TabHost whose id attribute is 'android.R.id.tabhost'
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1622)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1638)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at android.app.ActivityThread.access$1500(ActivityThread.java:117)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:928)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at android.os.Handler.dispatchMessage(Handler.java:99)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at android.os.Looper.loop(Looper.java:123)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at android.app.ActivityThread.main(ActivityThread.java:3647)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at java.lang.reflect.Method.invokeNative(Native Method)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at java.lang.reflect.Method.invoke(Method.java:507)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at dalvik.system.NativeStart.main(Native Method)
12-12 23:04:24.160: ERROR/AndroidRuntime(441): Caused by: java.lang.RuntimeException: Your content must have a TabHost whose id attribute is 'android.R.id.tabhost'
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at android.app.TabActivity.onContentChanged(TabActivity.java:105)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:210)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at android.app.Activity.setContentView(Activity.java:1657)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at android.contact.ContactNotifyActivity.onCreate(ContactNotifyActivity.java:30)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1586)
12-12 23:04:24.160: ERROR/AndroidRuntime(441):     ... 11 more
12-12 23:06:11.800: ERROR/AndroidRuntime(474): FATAL EXCEPTION: main
12-12 23:06:11.800: ERROR/AndroidRuntime(474): java.lang.RuntimeException: Unable to start activity ComponentInfo{android.contact/android.contact.ContactNotifyActivity}: java.lang.RuntimeException: Your content must have a TabHost whose id attribute is 'android.R.id.tabhost'
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1622)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1638)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at android.app.ActivityThread.access$1500(ActivityThread.java:117)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:928)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at android.os.Handler.dispatchMessage(Handler.java:99)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at android.os.Looper.loop(Looper.java:123)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at android.app.ActivityThread.main(ActivityThread.java:3647)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at java.lang.reflect.Method.invokeNative(Native Method)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at java.lang.reflect.Method.invoke(Method.java:507)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at dalvik.system.NativeStart.main(Native Method)
12-12 23:06:11.800: ERROR/AndroidRuntime(474): Caused by: java.lang.RuntimeException: Your content must have a TabHost whose id attribute is 'android.R.id.tabhost'
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at android.app.TabActivity.onContentChanged(TabActivity.java:105)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:210)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at android.app.Activity.setContentView(Activity.java:1657)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at android.contact.ContactNotifyActivity.onCreate(ContactNotifyActivity.java:30)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1586)
12-12 23:06:11.800: ERROR/AndroidRuntime(474):     ... 11 more
12-12 23:07:32.651: ERROR/AndroidRuntime(484): FATAL EXCEPTION: main
12-12 23:07:32.651: ERROR/AndroidRuntime(484): java.lang.RuntimeException: Unable to start activity ComponentInfo{android.contact/android.contact.ContactNotifyActivity}: java.lang.RuntimeException: Your content must have a TabHost whose id attribute is 'android.R.id.tabhost'
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1622)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1638)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at android.app.ActivityThread.access$1500(ActivityThread.java:117)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:928)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at android.os.Handler.dispatchMessage(Handler.java:99)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at android.os.Looper.loop(Looper.java:123)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at android.app.ActivityThread.main(ActivityThread.java:3647)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at java.lang.reflect.Method.invokeNative(Native Method)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at java.lang.reflect.Method.invoke(Method.java:507)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at dalvik.system.NativeStart.main(Native Method)
12-12 23:07:32.651: ERROR/AndroidRuntime(484): Caused by: java.lang.RuntimeException: Your content must have a TabHost whose id attribute is 'android.R.id.tabhost'
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at android.app.TabActivity.onContentChanged(TabActivity.java:105)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:210)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at android.app.Activity.setContentView(Activity.java:1657)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at android.contact.ContactNotifyActivity.onCreate(ContactNotifyActivity.java:30)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1586)
12-12 23:07:32.651: ERROR/AndroidRuntime(484):     ... 11 more

Offline Giovanni D'Addabbo

  • Utente normale
  • ***
  • Post: 163
  • Respect: +8
    • Google+
    • giovannid
    • giovanni.daddabbo
    • magoscuro
    • Mostra profilo
    • Rhubbit.it - Sviluppo app Android/iOs
  • Dispositivo Android:
    Nexus 5
  • Play Store ID:
    Rhubbit srl
  • Sistema operativo:
    Windows/Mac/Linux
Re:errore strano
« Risposta #1 il: 13 Dicembre 2011, 09:37:12 CET »
0
Codice (Java): [Seleziona]
Caused by: java.lang.RuntimeException: Your content must have a TabHost whose id attribute is 'android.R.id.tabhost'esiste questo tabhost?  :-)
Codice (Java): [Seleziona]
[code=java]at android.app.TabActivity.onContentChanged(TabActivity.java:105)[/code]
e qui che cosa succede? :)

Offline raimondo

  • Utente junior
  • **
  • Post: 130
  • Respect: 0
    • Mostra profilo
Re:errore strano
« Risposta #2 il: 13 Dicembre 2011, 09:49:46 CET »
0
stranezze di eclipse...riavviando il pc è tornato tutto a funzionare :-X

Offline Giovanni D'Addabbo

  • Utente normale
  • ***
  • Post: 163
  • Respect: +8
    • Google+
    • giovannid
    • giovanni.daddabbo
    • magoscuro
    • Mostra profilo
    • Rhubbit.it - Sviluppo app Android/iOs
  • Dispositivo Android:
    Nexus 5
  • Play Store ID:
    Rhubbit srl
  • Sistema operativo:
    Windows/Mac/Linux
Re:errore strano
« Risposta #3 il: 13 Dicembre 2011, 09:50:45 CET »
0
forse si era imputtanato per l'auto build

Offline raimondo

  • Utente junior
  • **
  • Post: 130
  • Respect: 0
    • Mostra profilo
Re:errore strano
« Risposta #4 il: 13 Dicembre 2011, 09:51:47 CET »
0
forse si era imputtanato per l'auto build
:-)