views:

1259

answers:

4

How can I start a new application on Android? I have done a new applications NewHomeScreen and Hello and on NewHomeScreen I wrote this code.

@Override public void onCreate(Bundle state) {
    super.onCreate(state);
    setContentView(R.layout.main);
    Intent mainIntent = new Intent(this,Hello.class);
    startActivity(mainIntent);
}

However, it does not start Hello application. Debugger says that state has value null but what should it be? I also wrote this to Manifest:

<activity android:name="Hello">
    <intent-filter>
            <action android:name="android.intent.action.HELLO" />
            <category android:name="android.intent.category.HELLO"/>
            <category android:name="android.intent.category.DEFAULT" />
    </intent-filter> 
</activity>
A: 

I think you forgot to specify the main Activity in your AndroidManifest.xml file:

 <application android:icon="@drawable/icon">
    <activity android:name="NewHomeScreen" android:label="@string/app_name">
        <intent-filter>
            <action android:name="android.intent.action.HELLO" />
            <category android:name="android.intent.category.LAUNCHER" />
        </intent-filter>
    </activity>
</application>
Ricky AH
Adding that does not help.
Jaska
A: 

Can I upload files in this forum?

Logcat:

10-09 12:59:43.465: INFO/DEBUG(539): debuggerd: Jun 30 2009 17:00:51

10-09 12:59:43.525: INFO/vold(538): Android Volume Daemon version 2.0

10-09 12:59:43.815: ERROR/vold(538): Error opening switch name path '/sys/class/switch/test2' (No such file or directory)

10-09 12:59:43.815: ERROR/vold(538): Error bootstrapping switch '/sys/class/switch/test2' (m)

10-09 12:59:43.815: ERROR/vold(538): Error opening switch name path '/sys/class/switch/test' (No such file or directory)

10-09 12:59:43.815: ERROR/vold(538): Error bootstrapping switch '/sys/class/switch/test' (m)

10-09 12:59:43.875: ERROR/flash_image(544): can't find recovery partition

10-09 12:59:43.905: DEBUG/vold(538): Bootstrapping complete

10-09 12:59:43.975: DEBUG/qemud(546): entering main loop

10-09 12:59:44.035: DEBUG/qemud(546): multiplexer_handle_control: unknown control message (18 bytes): 'ko:unknown command'

10-09 12:59:45.175: DEBUG/qemud(546): fdhandler_accept_event: accepting on fd 10

10-09 12:59:45.175: DEBUG/qemud(546): created client 0xe078 listening on fd 8

10-09 12:59:45.195: DEBUG/qemud(546): fdhandler_event: disconnect on fd 8

10-09 12:59:45.325: DEBUG/qemud(546): fdhandler_accept_event: accepting on fd 10

10-09 12:59:45.325: DEBUG/qemud(546): created client 0xf028 listening on fd 8

10-09 12:59:45.325: DEBUG/qemud(546): client_fd_receive: attempting registration for service 'gsm'

10-09 12:59:45.335: DEBUG/qemud(546): client_fd_receive: -> received channel id 1

10-09 12:59:47.145: DEBUG/AndroidRuntime(541): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<

10-09 12:59:47.145: DEBUG/AndroidRuntime(541): CheckJNI is ON

10-09 12:59:48.745: INFO/(542): ServiceManager: 0xac38

10-09 12:59:48.785: INFO/AudioFlinger(542): AudioFlinger's thread ready to run for output 0

10-09 12:59:48.935: INFO/CameraService(542): CameraService started: pid=542

10-09 12:59:49.535: DEBUG/AndroidRuntime(541): --- registering native functions ---

10-09 12:59:50.344: INFO/Zygote(541): Preloading classes...

10-09 12:59:50.364: DEBUG/dalvikvm(541): GC freed 764 objects / 42216 bytes in 18ms

10-09 12:59:50.805: DEBUG/dalvikvm(541): GC freed 278 objects / 17160 bytes in 9ms

10-09 12:59:51.425: DEBUG/dalvikvm(541): GC freed 208 objects / 12696 bytes in 10ms

10-09 12:59:51.585: DEBUG/dalvikvm(541): Trying to load lib /system/lib/libmedia_jni.so 0x0

10-09 12:59:51.865: DEBUG/dalvikvm(541): Added shared lib /system/lib/libmedia_jni.so 0x0

10-09 12:59:51.865: DEBUG/dalvikvm(541): Trying to load lib /system/lib/libmedia_jni.so 0x0

10-09 12:59:51.865: DEBUG/dalvikvm(541): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0

10-09 12:59:51.875: DEBUG/dalvikvm(541): Trying to load lib /system/lib/libmedia_jni.so 0x0

10-09 12:59:51.875: DEBUG/dalvikvm(541): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0

10-09 12:59:51.885: DEBUG/dalvikvm(541): Trying to load lib /system/lib/libmedia_jni.so 0x0

10-09 12:59:51.885: DEBUG/dalvikvm(541): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0

10-09 12:59:51.895: DEBUG/dalvikvm(541): GC freed 462 objects / 29144 bytes in 13ms

10-09 12:59:52.665: DEBUG/dalvikvm(541): GC freed 3584 objects / 171648 bytes in 32ms

10-09 12:59:55.525: DEBUG/dalvikvm(541): GC freed 11329 objects / 400856 bytes in 52ms

10-09 12:59:56.185: DEBUG/dalvikvm(541): GC freed 10472 objects / 438272 bytes in 55ms

10-09 12:59:56.895: DEBUG/dalvikvm(541): GC freed 10975 objects / 459800 bytes in 62ms

10-09 12:59:59.095: DEBUG/dalvikvm(541): GC freed 14372 objects / 506896 bytes in 69ms

10-09 12:59:59.795: DEBUG/dalvikvm(541): GC freed 11314 objects / 481360 bytes in 68ms

10-09 13:00:00.175: DEBUG/dalvikvm(541): GC freed 5928 objects / 248640 bytes in 59ms

10-09 13:00:00.785: DEBUG/dalvikvm(541): GC freed 349 objects / 37032 bytes in 54ms

10-09 13:00:01.125: DEBUG/dalvikvm(541): GC freed 778 objects / 48376 bytes in 65ms

10-09 13:00:01.324: DEBUG/dalvikvm(541): GC freed 321 objects / 37288 bytes in 69ms

10-09 13:00:01.595: DEBUG/dalvikvm(541): GC freed 477 objects / 29584 bytes in 65ms

10-09 13:00:01.655: DEBUG/dalvikvm(541): Trying to load lib /system/lib/libwebcore.so 0x0

10-09 13:00:03.176: DEBUG/dalvikvm(541): Added shared lib /system/lib/libwebcore.so 0x0

10-09 13:00:04.025: DEBUG/dalvikvm(541): GC freed 441 objects / 26224 bytes in 169ms

10-09 13:00:04.416: DEBUG/dalvikvm(541): GC freed 506 objects / 41464 bytes in 125ms

10-09 13:00:04.799: DEBUG/dalvikvm(541): GC freed 537 objects / 38832 bytes in 169ms

10-09 13:00:05.075: DEBUG/dalvikvm(541): GC freed 342 objects / 22552 bytes in 84ms

10-09 13:00:05.305: DEBUG/dalvikvm(541): GC freed 338 objects / 18736 bytes in 76ms

10-09 13:00:05.668: DEBUG/dalvikvm(541): GC freed 629 objects / 32136 bytes in 156ms

10-09 13:00:09.097: DEBUG/dalvikvm(541): GC freed 14257 objects / 497280 bytes in 148ms

10-09 13:00:10.175: DEBUG/dalvikvm(541): GC freed 11164 objects / 469576 bytes in 151ms

10-09 13:00:10.995: DEBUG/dalvikvm(541): GC freed 7134 objects / 311424 bytes in 145ms

10-09 13:00:11.375: DEBUG/dalvikvm(541): GC freed 752 objects / 43224 bytes in 93ms

10-09 13:00:11.565: DEBUG/dalvikvm(541): GC freed 598 objects / 31496 bytes in 91ms

10-09 13:00:11.805: DEBUG/dalvikvm(541): GC freed 413 objects / 26336 bytes in 90ms

10-09 13:00:11.885: INFO/Zygote(541): ...preloaded 1166 classes in 21536ms.

10-09 13:00:11.995: DEBUG/dalvikvm(541): GC freed 313 objects / 19952 bytes in 112ms

10-09 13:00:11.995: INFO/Zygote(541): Preloading resources...

10-09 13:00:12.205: DEBUG/dalvikvm(541): GC freed 54 objects / 11248 bytes in 102ms

10-09 13:00:13.015: DEBUG/dalvikvm(541): GC freed 337 objects / 15008 bytes in 97ms

10-09 13:00:13.465: DEBUG/dalvikvm(541): GC freed 280 objects / 11768 bytes in 91ms

10-09 13:00:13.515: INFO/Zygote(541): ...preloaded 48 resources in 1518ms.

10-09 13:00:13.565: INFO/Zygote(541): ...preloaded 15 resources in 42ms.

10-09 13:00:13.655: DEBUG/dalvikvm(541): GC freed 117 objects / 8448 bytes in 97ms

10-09 13:00:13.765: DEBUG/dalvikvm(541): GC freed 205 objects / 8104 bytes in 92ms

10-09 13:00:13.945: DEBUG/dalvikvm(541): GC freed 36 objects / 1400 bytes in 172ms

10-09 13:00:13.955: INFO/dalvikvm(541): Splitting out new zygote heap

10-09 13:00:13.975: INFO/dalvikvm(541): System server process 567 has been created

10-09 13:00:13.985: INFO/Zygote(541): Accepting command socket connections

10-09 13:00:14.095: INFO/jdwp(567): received file descriptor 10 from ADB

10-09 13:00:14.425: DEBUG/dalvikvm(567): Trying to load lib /system /lib/libandroid_servers.so 0x0

10-09 13:00:15.015: DEBUG/dalvikvm(567): Added shared lib /system/lib/libandroid_servers.so 0x0

10-09 13:00:15.055: INFO/sysproc(567): Entered system_init()

10-09 13:00:15.055: INFO/sysproc(567): ServiceManager: 0x4e638

10-09 13:00:15.065: INFO/SurfaceFlinger(567): SurfaceFlinger is starting

10-09 13:00:15.065: INFO/SurfaceFlinger(567): boot animation disabled

10-09 13:00:15.065: INFO/SurfaceFlinger(567): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...

10-09 13:00:15.075: ERROR/MemoryHeapBase(567): error opening /dev/pmem: No such file or directory

10-09 13:00:15.075: ERROR/SurfaceFlinger(567): Couldn't open /sys/power/wait_for_fb_sleep or /sys/power/wait_for_fb_wake

10-09 13:00:15.155: ERROR/GLLogger(567): couldn't load library (Cannot find library)

10-09 13:00:15.155: INFO/SurfaceFlinger(567): EGL informations:

10-09 13:00:15.155: INFO/SurfaceFlinger(567): # of configs : 6

10-09 13:00:15.155: INFO/SurfaceFlinger(567): vendor : Android

10-09 13:00:15.155: INFO/SurfaceFlinger(567): version : 1.31 Android META-EGL

10-09 13:00:15.155: INFO/SurfaceFlinger(567): extensions:

10-09 13:00:15.155: INFO/SurfaceFlinger(567): Client API: OpenGL ES

10-09 13:00:15.155: INFO/EGLDisplaySurface(567): using (fd=22)

10-09 13:00:15.155: INFO/EGLDisplaySurface(567): id =

10-09 13:00:15.155: INFO/EGLDisplaySurface(567): xres = 320 px

10-09 13:00:15.155: INFO/EGLDisplaySurface(567): yres = 480 px

10-09 13:00:15.155: INFO/EGLDisplaySurface(567): xres_virtual = 320 px

10-09 13:00:15.155: INFO/EGLDisplaySurface(567): yres_virtual = 960 px

10-09 13:00:15.155: INFO/EGLDisplaySurface(567): bpp = 16

10-09 13:00:15.155: INFO/EGLDisplaySurface(567): r = 11:5

10-09 13:00:15.155: INFO/EGLDisplaySurface(567): g = 5:6

10-09 13:00:15.155: INFO/EGLDisplaySurface(567): b = 0:5

10-09 13:00:15.165: INFO/EGLDisplaySurface(567): width = 49 mm (165.877548 dpi)

10-09 13:00:15.165: INFO/EGLDisplaySurface(567): height = 74 mm (164.756760 dpi)

10-09 13:00:15.165: INFO/EGLDisplaySurface(567): refresh rate = 60.00 Hz

10-09 13:00:15.175: WARN/HAL(567): load: module=/system/lib/hw/copybit.goldfish.so error=Cannot find library

10-09 13:00:15.175: WARN/HAL(567): load: module=/system/lib/hw/copybit.default.so error=Cannot find library

10-09 13:00:15.175: WARN/SurfaceFlinger(567): ro.sf.lcd_density not defined, using 160 dpi by default.

10-09 13:00:15.332: INFO/SurfaceFlinger(567): OpenGL informations:

10-09 13:00:15.332: INFO/SurfaceFlinger(567): vendor : Android

10-09 13:00:15.332: INFO/SurfaceFlinger(567): renderer : Android PixelFlinger 1.0

10-09 13:00:15.332: INFO/SurfaceFlinger(567): version : OpenGL ES-CM 1.0

10-09 13:00:15.334: INFO/SurfaceFlinger(567): extensions: GL_OES_byte_coordinates GL_OES_fixed_point GL_OES_single_precision GL_OES_read_format GL_OES_compressed_paletted_texture GL_OES_draw_texture GL_OES_matrix_get GL_OES_query_matrix GL_ARB_texture_compression GL_ARB_texture_non_power_of_two GL_ANDROID_direct_texture GL_ANDROID_user_clip_plane GL_ANDROID_vertex_buffer_object GL_ANDROID_generate_mipmap

10-09 13:00:15.334: WARN/HAL(567): load: module=/system/lib/hw/copybit.goldfish.so error=Cannot find library

10-09 13:00:15.334: WARN/HAL(567): load: module=/system/lib/hw/copybit.default.so error=Cannot find library

10-09 13:00:15.334: WARN/HAL(567): load: module=/system/lib/hw/overlay.goldfish.so error=Cannot find library

10-09 13:00:15.334: WARN/HAL(567): load: module=/system/lib/hw/overlay.default.so error=Cannot find library

10-09 13:00:15.375: INFO/sysproc(567): System server: starting Android runtime.

10-09 13:00:15.375: INFO/sysproc(567): System server: starting Android services.

10-09 13:00:15.375: INFO/SystemServer(567): Entered the Android system server!

10-09 13:00:15.385: INFO/sysproc(567): System server: entering thread pool.

10-09 13:00:15.615: INFO/SystemServer(567): Starting Power Manager.

10-09 13:00:15.735: INFO/SystemServer(567): Starting Activity Manager.

10-09 13:00:17.685: INFO/SystemServer(567): Starting telephony registry

10-09 13:00:17.705: INFO/SystemServer(567): Starting Package Manager.

10-09 13:00:17.825: INFO/Installer(567): connecting...

10-09 13:00:17.835: INFO/installd(543): new connection

10-09 13:00:18.155: INFO/PackageManager(567): Got library android.awt in /system/framework /android.awt.jar

10-09 13:00:18.155: INFO/PackageManager(567): Got library android.test.runner in /system /framework/android.test.runner.jar

10-09 13:00:18.155: INFO/PackageManager(567): Got library com.android.im.plugin in /system /framework/com.android.im.plugin.jar

10-09 13:00:19.225: DEBUG/PackageManager(567): Scanning app dir /system/framework

10-09 13:00:19.885: DEBUG/dalvikvm(567): GC freed 5803 objects / 244640 bytes in 180ms

10-09 13:00:19.885: DEBUG/PackageManager(567): Scanning app dir /system/app

10-09 13:00:23.324: DEBUG/dalvikvm(567): GC freed 3570 objects / 221576 bytes in 160ms

10-09 13:00:23.494: DEBUG/PackageManager(567): Scanning app dir /data/app

10-09 13:00:23.515: WARN/PackageParser(567): has more than one

10-09 13:00:23.525: DEBUG/PackageManager(567): Scanning app dir /data/app-private

10-09 13:00:23.535: INFO/PackageManager(567): Time to scan packages: 4.517 seconds

10-09 13:00:23.535: WARN/PackageManager(567): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.providers.contacts

10-09 13:00:23.545: WARN/PackageManager(567): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.cp in package com.android.providers.contacts

10-09 13:00:23.545: WARN/PackageManager(567): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.development

10-09 13:00:23.545: WARN/PackageManager(567): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.ALL_SERVICES in package com.android.development

10-09 13:00:23.545: WARN/PackageManager(567): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.YouTubeUser in package com.android.development

10-09 13:00:23.545: WARN/PackageManager(567): Unknown permission com.google.android.googleapps.permission.ACCESS_GOOGLE_PASSWORD in package com.android.development

10-09 13:00:23.545: WARN/PackageManager(567): Unknown permission com.google.android.providers.gmail.permission.WRITE_GMAIL in package com.android.settings

10-09 13:00:23.545: WARN/PackageManager(567): Unknown permission com.google.android.providers.gmail.permission.READ_GMAIL in package com.android.settings

10-09 13:00:23.545: WARN/PackageManager(567): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.settings

10-09 13:00:23.555: WARN/PackageManager(567): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH in package com.android.browser

10-09 13:00:23.555: WARN/PackageManager(567): Unknown permission com.google.android.googleapps.permission.GOOGLE_AUTH.mail in package com.android.contacts

10-09 13:00:23.935: DEBUG/dalvikvm(567): GC freed 2898 objects / 164232 bytes in 159ms

10-09 13:00:23.975: INFO/SystemServer(567): Starting Content Manager.

10-09 13:00:24.324: WARN/ActivityManager(567): Unable to start service Intent { action=android.accounts.IAccountsService comp={com.google.android.googleapps/com.google.android.googleapps.GoogleLoginService} }: not found

10-09 13:00:24.324: WARN/AccountMonitor(567): Couldn't connect to Intent { action=android.accounts.IAccountsService comp={com.google.android.googleapps/com.google.android.googleapps.GoogleLoginService} } (Missing service?)

10-09 13:00:24.324: INFO/SystemServer(567): Starting System Content Providers.

10-09 13:00:24.334: INFO/ActivityThread(567): Publishing provider settings: com.android.providers.settings.SettingsProvider

10-09 13:00:24.385: INFO/ActivityThread(567): Publishing provider sync: android.content.SyncProvider

10-09 13:00:24.395: INFO/SystemServer(567): Starting Battery Service.

10-09 13:00:24.405: ERROR/BatteryService(567): Could not open '/sys/class/power_supply /usb/online'

10-09 13:00:24.415: ERROR/BatteryService(567): Could not open '/sys/class/power_supply /battery/batt_vol'

10-09 13:00:24.415: ERROR/BatteryService(567): Could not open '/sys/class/power_supply /battery/batt_temp'

10-09 13:00:24.425: INFO/SystemServer(567): Starting Hardware Service.

10-09 13:00:24.435: DEBUG/qemud(546): fdhandler_accept_event: accepting on fd 10

10-09 13:00:24.435: DEBUG/qemud(546): created client 0x10fd8 listening on fd 11

10-09 13:00:24.435: DEBUG/qemud(546): client_fd_receive: attempting registration for service 'hw-control'

10-09 13:00:24.435: DEBUG/qemud(546): client_fd_receive: -> received channel id 2

10-09 13:22:05.575: DEBUG/jdwp(567): +++ peer disconnected

10-09 13:22:05.575: INFO/dalvikvm(567): Debugger has detached; object registry had 1 entries

10-09 13:23:06.735: INFO/jdwp(567): received file descriptor 10 from ADB

10-09 13:24:18.936: DEBUG/AndroidRuntime(598): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<

10-09 13:24:18.945: DEBUG/AndroidRuntime(598): CheckJNI is ON

10-09 13:24:20.115: DEBUG/AndroidRuntime(598): --- registering native functions ---

10-09 13:24:20.165: INFO/jdwp(598): received file descriptor 18 from ADB

10-09 13:24:22.845: DEBUG/PackageParser(567): Scanning package: /data/app/vmdl50073.tmp

10-09 13:24:22.884: WARN/PackageParser(567): has more than one

10-09 13:24:23.305: INFO/PackageManager(567): Removing non-system package:com.xyz

10-09 13:24:23.305: DEBUG/PackageManager(567): Removing package com.xyz

10-09 13:24:23.315: DEBUG/PackageManager(567): Activities: com.xyz.NewHomeScreen

10-09 13:24:23.656: DEBUG/PackageManager(567): Scanning package com.xyz

10-09 13:24:23.667: INFO/PackageManager(567): /data/app/vmdl50073.tmp changed; unpacking

10-09 13:24:23.755: DEBUG/installd(543): DexInv: --- BEGIN '/data/app/vmdl50073.tmp' ---

10-09 13:24:24.315: DEBUG/dalvikvm(605): DexOpt: load 79ms, verify 101ms, opt 3ms

10-09 13:24:24.375: DEBUG/installd(543): DexInv: --- END '/data/app/vmdl50073.tmp' (success) ---

10-09 13:24:24.425: DEBUG/PackageManager(567): Activities: com.xyz.NewHomeScreen

10-09 13:24:24.555: INFO/installd(543): move /data/dalvik- cache/data@[email protected]@classes.dex -> /data/dalvik- cache/data@[email protected]@classes.dex

10-09 13:24:24.655: DEBUG/PackageManager(567): New package installed in /data/app /com.xyz.apk

10-09 13:24:24.885: DEBUG/AndroidRuntime(598): Shutting down VM

10-09 13:24:24.885: DEBUG/dalvikvm(598): DestroyJavaVM waiting for non-daemon threads to exit

10-09 13:24:24.904: ERROR/ActivityManager(567): Attempt to launch receivers of broadcast intent Intent { action=android.intent.action.PACKAGE_REMOVED data=package:com.xyz (has extras) } before boot completion

10-09 13:24:24.916: DEBUG/dalvikvm(598): DestroyJavaVM shutting VM down

10-09 13:24:24.916: DEBUG/dalvikvm(598): HeapWorker thread shutting down

10-09 13:24:24.924: DEBUG/dalvikvm(598): HeapWorker thread has shut down

10-09 13:24:24.945: DEBUG/jdwp(598): JDWP shutting down net...

10-09 13:24:24.945: DEBUG/jdwp(598): +++ peer disconnected

10-09 13:24:24.945: INFO/dalvikvm(598): Debugger has detached; object registry had 1 entries

10-09 13:24:25.075: WARN/dalvikvm(567): threadid=23: thread exiting with uncaught exception (group=0x4000fe70)

10-09 13:24:25.095: ERROR/AndroidRuntime(567): Uncaught handler: thread PackageManager exiting due to uncaught exception

10-09 13:24:25.105: DEBUG/dalvikvm(598): VM cleaning up

10-09 13:24:25.125: ERROR/AndroidRuntime(567): *** EXCEPTION IN SYSTEM PROCESS. System will crash.

10-09 13:24:25.219: DEBUG/dalvikvm(598): LinearAlloc 0x0 used 629572 of 4194304 (15%)

10-09 13:24:25.345: ERROR/AndroidRuntime(567): java.lang.IllegalStateException: Cannot broadcast before boot completed

10-09 13:24:25.345: ERROR/AndroidRuntime(567): at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:102 41)

10-09 13:24:25.345: ERROR/AndroidRuntime(567): at com.android.server.PackageManagerService.sendPackageBroadcast(PackageManagerService.java:313 4)

10-09 13:24:25.345: ERROR/AndroidRuntime(567): at com.android.server.PackageManagerService.access$1400(PackageManagerService.java:104)

10-09 13:24:25.345: ERROR/AndroidRuntime(567): at com.android.server.PackageManagerService$PackageRemovedInfo.sendBroadcast(PackageManagerServ ice.java:3941)

10-09 13:24:25.345: ERROR/AndroidRuntime(567): at com.android.server.PackageManagerService$5.run(PackageManagerService.java:3248)

10-09 13:24:25.345: ERROR/AndroidRuntime(567): at android.os.Handler.handleCallback(Handler.java:587)

10-09 13:24:25.345: ERROR/AndroidRuntime(567): at android.os.Handler.dispatchMessage(Handler.java:92)

10-09 13:24:25.345: ERROR/AndroidRuntime(567): at android.os.Looper.loop(Looper.java:123)

10-09 13:24:25.345: ERROR/AndroidRuntime(567): at android.os.HandlerThread.run(HandlerThread.java:60)

10-09 13:24:25.505: ERROR/AndroidRuntime(567): Crash logging skipped, no checkin service

10-09 13:24:25.557: INFO/Process(567): Sending signal. PID: 567 SIG: 9

10-09 13:24:26.815: INFO/ServiceManager(537): service 'batteryinfo' died

10-09 13:24:26.868: INFO/ServiceManager(537): service 'usagestats' died

10-09 13:24:26.868: INFO/ServiceManager(537): service 'meminfo' died

10-09 13:24:26.868: INFO/ServiceManager(537): service 'telephony.registry' died

10-09 13:24:26.868: INFO/ServiceManager(537): service 'activity' died

10-09 13:24:26.887: INFO/ServiceManager(537): service 'SurfaceFlinger' died

10-09 13:24:26.887: INFO/ServiceManager(537): service 'power' died

10-09 13:24:26.894: INFO/ServiceManager(537): service 'cpuinfo' died

10-09 13:24:26.894: INFO/ServiceManager(537): service 'activity.broadcasts' died

10-09 13:24:26.894: INFO/ServiceManager(537): service 'activity.services' died

10-09 13:24:26.894: INFO/ServiceManager(537): service 'activity.senders' died

10-09 13:24:26.894: INFO/ServiceManager(537): service 'activity.providers' died

10-09 13:24:26.894: INFO/ServiceManager(537): service 'permission' died

10-09 13:24:26.894: INFO/ServiceManager(537): service 'content' died

10-09 13:24:26.894: INFO/ServiceManager(537): service 'battery' died

10-09 13:24:26.894: INFO/ServiceManager(537): service 'package' died

10-09 13:24:28.105: DEBUG/AndroidRuntime(610): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<

10-09 13:24:28.105: DEBUG/AndroidRuntime(610): CheckJNI is ON

10-09 13:24:29.115: DEBUG/AndroidRuntime(610): --- registering native functions ---

10-09 13:24:29.258: INFO/jdwp(610): received file descriptor 18 from ADB

10-09 13:24:29.611: ERROR/installd(543): eof

10-09 13:24:29.615: ERROR/installd(543): failed to read size

10-09 13:24:29.625: INFO/installd(543): closing connection

10-09 13:24:30.185: DEBUG/qemud(546): fdhandler_event: disconnect on fd 11

10-09 13:24:30.565: INFO/Zygote(541): Exit zygote because system server (567) has terminated

10-09 13:24:32.045: DEBUG/AndroidRuntime(616): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<

10-09 13:24:32.095: DEBUG/AndroidRuntime(616): CheckJNI is ON

10-09 13:24:33.345: DEBUG/AndroidRuntime(616): --- registering native functions ---

10-09 13:24:33.555: DEBUG/AndroidRuntime(610): Shutting down VM

10-09 13:24:33.555: DEBUG/dalvikvm(610): DestroyJavaVM waiting for non-daemon threads to exit

10-09 13:24:33.605: DEBUG/dalvikvm(610): DestroyJavaVM shutting VM down

10-09 13:24:33.605: DEBUG/dalvikvm(610): HeapWorker thread shutting down

10-09 13:24:33.615: DEBUG/dalvikvm(610): HeapWorker thread has shut down

10-09 13:24:33.615: DEBUG/jdwp(610): JDWP shutting down net...

10-09 13:24:33.615: DEBUG/jdwp(610): +++ peer disconnected

10-09 13:24:33.615: INFO/dalvikvm(610): Debugger has detached; object registry had 1 entries

10-09 13:24:33.625: DEBUG/dalvikvm(610): VM cleaning up

10-09 13:24:33.825: DEBUG/dalvikvm(610): LinearAlloc 0x0 used 614420 of 4194304 (14%)

10-09 13:24:34.335: INFO/Zygote(616): Preloading classes...

10-09 13:24:34.383: DEBUG/dalvikvm(616): GC freed 764 objects / 42216 bytes in 35ms

10-09 13:24:34.765: DEBUG/dalvikvm(616): GC freed 278 objects / 17160 bytes in 9ms

10-09 13:24:35.245: DEBUG/dalvikvm(616): GC freed 208 objects / 12696 bytes in 11ms

10-09 13:24:35.455: DEBUG/dalvikvm(616): Trying to load lib /system/lib/libmedia_jni.so 0x0

10-09 13:24:35.805: DEBUG/dalvikvm(616): Added shared lib /system/lib/libmedia_jni.so 0x0

10-09 13:24:35.845: DEBUG/dalvikvm(616): Trying to load lib /system/lib/libmedia_jni.so 0x0

10-09 13:24:35.845: DEBUG/dalvikvm(616): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0

10-09 13:24:35.845: DEBUG/dalvikvm(616): Trying to load lib /system/lib/libmedia_jni.so 0x0

10-09 13:24:35.854: DEBUG/dalvikvm(616): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0

10-09 13:24:35.893: DEBUG/dalvikvm(616): Trying to load lib /system/lib/libmedia_jni.so 0x0

10-09 13:24:35.893: DEBUG/dalvikvm(616): Shared lib '/system/lib/libmedia_jni.so' already loaded in same CL 0x0

10-09 13:24:35.914: DEBUG/dalvikvm(616): GC freed 462 objects / 29144 bytes in 16ms

10-09 13:24:37.155: DEBUG/dalvikvm(616): GC freed 3584 objects / 171648 bytes in 77ms

10-09 13:24:38.465: DEBUG/AndroidRuntime(622): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<

10-09 13:24:38.510: DEBUG/AndroidRuntime(622): CheckJNI is ON

10-09 13:24:39.815: DEBUG/AndroidRuntime(622): --- registering native functions ---

10-09 13:24:39.835: INFO/jdwp(622): received file descriptor 17 from ADB

10-09 13:24:44.495: DEBUG/AndroidRuntime(622): Shutting down VM

10-09 13:24:44.495: DEBUG/dalvikvm(622): DestroyJavaVM waiting for non-daemon threads to exit

10-09 13:24:44.505: DEBUG/dalvikvm(622): DestroyJavaVM shutting VM down

10-09 13:24:44.505: DEBUG/dalvikvm(622): HeapWorker thread shutting down

10-09 13:24:44.520: DEBUG/dalvikvm(622): HeapWorker thread has shut down

10-09 13:24:44.520: DEBUG/jdwp(622): JDWP shutting down net...

10-09 13:24:44.520: DEBUG/jdwp(622): +++ peer disconnected

10-09 13:24:44.525: INFO/dalvikvm(622): Debugger has detached; object registry had 1 entries

10-09 13:24:44.545: DEBUG/dalvikvm(622): VM cleaning up

10-09 13:24:44.715: DEBUG/dalvikvm(622): LinearAlloc 0x0 used 613828 of 4194304 (14%)

10-09 13:24:45.335: DEBUG/dalvikvm(616): GC freed 11329 objects / 400856 bytes in 53ms

10-09 13:24:46.395: DEBUG/dalvikvm(616): GC freed 10472 objects / 438272 bytes in 107ms

10-09 13:24:47.645: DEBUG/dalvikvm(616): GC freed 10975 objects / 459800 bytes in 144ms

10-09 13:24:48.785: DEBUG/AndroidRuntime(631): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<

10-09 13:24:48.835: DEBUG/AndroidRuntime(631): CheckJNI is ON

10-09 13:24:50.175: DEBUG/AndroidRuntime(631): --- registering native functions ---

10-09 13:24:50.208: INFO/jdwp(631): received file descriptor 17 from ADB

10-09 13:24:54.085: DEBUG/dalvikvm(616): GC freed 14372 objects / 506896 bytes in 153ms

10-09 13:24:54.942: DEBUG/AndroidRuntime(631): Shutting down VM

10-09 13:24:54.945: DEBUG/dalvikvm(631): DestroyJavaVM waiting for non-daemon threads to exit

10-09 13:24:54.995: DEBUG/dalvikvm(631): DestroyJavaVM shutting VM down

10-09 13:24:54.995: DEBUG/dalvikvm(631): HeapWorker thread shutting down

10-09 13:24:55.020: DEBUG/dalvikvm(631): HeapWorker thread has shut down

10-09 13:24:55.020: DEBUG/jdwp(631): JDWP shutting down net...

10-09 13:24:55.025: DEBUG/jdwp(631): +++ peer disconnected

10-09 13:24:55.025: INFO/dalvikvm(631): Debugger has detached; object registry had 1 entries

10-09 13:24:55.040: DEBUG/dalvikvm(631): VM cleaning up

10-09 13:24:55.208: DEBUG/dalvikvm(631): LinearAlloc 0x0 used 613828 of 4194304 (14%)

10-09 13:24:55.925: DEBUG/dalvikvm(616): GC freed 11314 objects / 481360 bytes in 96ms

10-09 13:24:56.435: DEBUG/dalvikvm(616): GC freed 5928 objects / 248640 bytes in 63ms

10-09 13:24:56.875: DEBUG/dalvikvm(616): GC freed 349 objects / 37032 bytes in 51ms

10-09 13:24:57.305: DEBUG/dalvikvm(616): GC freed 778 objects / 48376 bytes in 66ms

10-09 13:24:57.585: DEBUG/dalvikvm(616): GC freed 321 objects / 37288 bytes in 70ms

10-09 13:24:58.205: DEBUG/dalvikvm(616): GC freed 477 objects / 29584 bytes in 67ms

10-09 13:24:58.395: DEBUG/dalvikvm(616): Trying to load lib /system/lib/libwebcore.so 0x0

10-09 13:24:58.725: DEBUG/dalvikvm(616): Added shared lib /system/lib/libwebcore.so 0x0

10-09 13:24:59.485: DEBUG/dalvikvm(616): GC freed 441 objects / 26224 bytes in 142ms

10-09 13:24:59.725: DEBUG/AndroidRuntime(639): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<

10-09 13:24:59.760: DEBUG/AndroidRuntime(639): CheckJNI is ON

10-09 13:25:00.105: DEBUG/dalvikvm(616): GC freed 506 objects / 41464 bytes in 140ms

10-09 13:25:00.675: DEBUG/dalvikvm(616): GC freed 537 objects / 38832 bytes in 156ms

10-09 13:25:00.925: DEBUG/AndroidRuntime(639): --- registering native functions ---

10-09 13:25:00.945: INFO/jdwp(639): received file descriptor 17 from ADB

10-09 13:25:01.395: DEBUG/dalvikvm(616): GC freed 342 objects / 22552 bytes in 149ms

10-09 13:25:01.854: DEBUG/dalvikvm(616): GC freed 338 objects / 18736 bytes in 157ms

10-09 13:25:02.545: DEBUG/dalvikvm(616): GC freed 629 objects / 32136 bytes in 156ms

10-09 13:25:05.125: DEBUG/AndroidRuntime(639): Shutting down VM

10-09 13:25:05.125: DEBUG/dalvikvm(639): DestroyJavaVM waiting for non-daemon threads to exit

10-09 13:25:05.210: DEBUG/dalvikvm(639): DestroyJavaVM shutting VM down

10-09 13:25:05.215: DEBUG/dalvikvm(639): HeapWorker thread shutting down

10-09 13:25:05.237: DEBUG/dalvikvm(639): HeapWorker thread has shut down

10-09 13:25:05.258: DEBUG/jdwp(639): JDWP shutting down net...

10-09 13:25:05.258: DEBUG/jdwp(639): +++ peer disconnected

10-09 13:25:05.258: INFO/dalvikvm(639): Debugger has detached; object registry had 1 entries

10-09 13:25:05.274: DEBUG/dalvikvm(639): VM cleaning up

10-09 13:25:05.501: DEBUG/dalvikvm(639): LinearAlloc 0x0 used 613828 of 4194304 (14%)

10-09 13:25:06.795: DEBUG/dalvikvm(616): GC freed 14257 objects / 497280 bytes in 115ms

10-09 13:25:07.675: DEBUG/dalvikvm(616): GC freed 11164 objects / 469576 bytes in 107ms

10-09 13:25:08.865: DEBUG/dalvikvm(616): GC freed 7134 objects / 311424 bytes in 221ms

10-09 13:25:09.335: DEBUG/AndroidRuntime(648): >>>>>>>>>>>>>> AndroidRun

Jaska
Please don't do that. If you need to post *part* of a log file, you should **edit** your original question to include the new information.
Christopher
A: 

Sorry if you did this part, but were you able to get this running?

http://developer.android.com/guide/tutorials/hello-world.html

Just so that we know there was no problem in your setup environment...

Legend
A: 

Try getting rid of the intent-filter in your Home activity. You don't need it anyway, if it's not your main screen.

Klondike