Phone.apk is not loading in emulator

by vishnu » Tue, 08 Sep 2009 15:58:23 GMT

Sponsored Links
 i All,

I am porting s3c6410 on emulator (only platform side not kernel). I
removed the hardware dependencies (from hardware folder). when i am
running emulator it's not able to load Phone.apk showing following :

Could not find end-of-central-directory in Zip
D/asset ( 634): failed to open Zip archive '/system/app/Phone.apk'
W/PackageParser( 634): Unable to read AndroidManifest.xml of /system/
W/PackageParser( 634):
W/PackageParser( 634): at
android.content.res.AssetManager.openXmlAssetNative(Native Method)
W/PackageParser( 634): at
W/PackageParser( 634): at
W/PackageParser( 634): at
W/PackageParser( 634): at
W/PackageParser( 634): at
W/PackageParser( 634): at<init>
W/PackageParser( 634): at
W/PackageParser( 634): at

and later it crash:

: Unable to start service Intent
{ action=android.accounts.IAccountsService comp=
{} }: not found
W/AccountMonitor( 634): Couldn't connect to Intent
{ action=android.accounts.IAccountsService comp=
{} } (Missing service?)
I/SystemServer( 634): Starting System Content Providers.
I/ActivityThread( 634): Publishing provider sync:
I/SystemServer( 634): Starting Battery Service.
I/SystemServer( 634): Starting Hardware Service.
D/qemud ( 547): fdhandler_accept_event: accepting on fd 10
D/qemud ( 547): created client 0xe078 listening on fd 8
D/qemud ( 547): client_fd_receive: attempting registration for
service 'hw-control'
D/qemud ( 547): client_fd_receive: -> received channel id 2
D/qemud ( 547): client_registration: registration succeeded for
client 2
W/HAL ( 634): load: module=/system/lib/hw/
error=Cannot find library
W/HAL ( 634): load: module=/system/lib/hw/
error=Cannot find library
W/HAL ( 634): load: module=/system/lib/hw/
error=Cannot find library
E/ActivityThread( 634): Failed to find provider info for settings
W/dalvikvm( 634): threadid=31: thread exiting with uncaught exception
E/AndroidRuntime( 634): Uncaught handler: thread PowerManagerService
exiting due to uncaught exception
E/AndroidRuntime( 634): *** EXCEPTION IN SYSTEM PROCESS. System will
E/AndroidRuntime( 634): java.lang.NullPointerException
E/AndroidRuntime( 634): at android.content.ContentQueryMap.<init>
E/AndroidRuntime( 634): at
E/AndroidRuntime( 634): at com.

Other Threads

1. Call System.exit(0) causes Dalvik crash

Dear everyone,

I am porting Dalvik on MIPS/Vxworks.

I am trying to run my small sample app. It only call System.exit(0) in
main function.

When I run the first time, it can run and after call System.exit(0),
Dalvik exits, that's ok.

However when I tried to my sample app again, Dalvik cannot run and
crashes and the board reboot automatically.

Below is the stack trace:

exception cause        :TLB exception(store) (0x3)
exception error counter:1
time stamp             :THU JAN 01 00:06:40 1970
errno                  :0x00000000

MIPS32 R4K CP0 registers:
   Status:0x50008ce3      EPC:0x8006f5b0    Cause:0x0000000c
 BadVAddr:0x00000018 ErrorEPC:0x096bf3ec
    Debug:0x00018000     DEPC:0x00000000   DeSave:0xff7f7fb6

    Cause: BD:0 IP:0x00 ExcCode:0x03
   Status: CU:05 RE:0 BEV:0 SR:0 NMI:0
           IM:0x8c UM:0 ERL:0 EXL:1 IE:1

system special registers:

MIPS32 R4K CPU registers:
     LO:0x0000000000000000   HI:0x0000000000989680
   zero:0x0000000000000000   at:0xffffffff81c90000
     v0:0x0000000000000000   v1:0x00000000000001e0
     a0:0x0000000000000018   a1:0x0000000000000000
     a2:0x0000000000000000   a3:0x0000000000000018
     t0:0x00000000000001e8   t1:0x0000000000000000
     t2:0x0000000000002003   t3:0x0000000000080c8c
     t4:0x0000000000000000   t5:0x00000000000497eb
     t6:0xffffffff81943760   t7:0xffffffff856e11d3
     s0:0x0000000000000018   s1:0x0000000000000010
     s2:0x0000000000000010   s3:0x0000000001800000
     s4:0x0000000000000000   s5:0xffffffff828c0000
     s6:0xffffffff816e0000   s7:0xffffffff85d56d10
     t8:0xffffffff858034ba   t9:0x0000000000003e8d
     k0:0x0000000000000010   k1:0x0000000000000000
     gp:0xffffffff81c940b0   sp:0xffffffff8ee01690
     s8:0x0000000000000000   ra:0xffffffff80e56980

stack trace information:
    SP:0x8ee01690(unknown stack base:0x8fa00000)
    0x8006f5b0:bfill + 0x68
    0x80e56980:memset + 0x20 -> bfill()
    0x80c4320c:mspace_malloc_stats + 0x1b4 -> memset()
    0x80c43308:create_mspace_with_base + 0x68 -> mspace_malloc_stats()
    0x80c4341c:create_contiguous_mspace_with_name + 0xec ->
    0x80cbe390:dvmHeapSourceShutdown + 0xe0 ->
    0x80cbeb5c:dvmHeapSourceStartup + 0xa4 -> dvmHeapSourceShutdown()
    0x80c73ed8:dvmHeapStartup + 0x28 -> dvmHeapSourceStartup()
    0x80ca16a8:dvmStartup + 0xa0 -> dvmHeapStartup()
    0x80ca9bdc:JNI_CreateJavaVM + 0x1ec -> dvmStartup()
    0x80c4ff24:dalvik_main + 0x144 -> JNI_CreateJavaVM()
    0x80c505c0:DalvikStart + 0x48 -> dalvik_main()
    0x80e6fb58:yyparse + 0x1370 -> DalvikStart()
    0x80e70814:execute + 0x19c -> yyparse()
    0x80e70558:shellPromptSet + 0x4e0 -> execute()
    0x80e708ec:shell + 0xb4 -> shellPromptSet()
    0x80072b68:vxTaeskEntry + 0x14 -> shell()

Could you advise me what is the current issue with above stack trace
and how to fix it?

Thanks and best regards,
Bao Nguyen


2. DEVELOPER CHALLENGE 2 - Can update of existing published app can participate?


I know that currenlty published apps can't participate and also
updates of the apps which participated in Developer Challenge 1 cant
participate in DC2.

But can an update of an existing published app can participate in DC2?

Thanks in advance.

3. How could I customize the launcher without modify the SDK?

4. Can android run java class files

5. Problem with Displaying Web Server's Response (Text) in Android

6. Installing the USB driver for HTC Magic on Vista

7. Live at Michael Jackson Memorial Concert -- All Videos here???