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/
app/Phone.apk
W/PackageParser( 634): java.io.FileNotFoundException:
AndroidManifest.xml
W/PackageParser( 634): at
android.content.res.AssetManager.openXmlAssetNative(Native Method)
W/PackageParser( 634): at
android.content.res.AssetManager.openXmlBlockAsset(AssetManager.java:
471)
W/PackageParser( 634): at
android.content.res.AssetManager.openXmlResourceParser
(AssetManager.java:439)
W/PackageParser( 634): at
android.content.pm.PackageParser.parsePackage(PackageParser.java:265)
W/PackageParser( 634): at
com.android.server.PackageManagerService.scanPackageLI
(PackageManagerService.java:1759)
W/PackageParser( 634): at
com.android.server.PackageManagerService.scanDirLI
(PackageManagerService.java:1709)
W/PackageParser( 634): at
com.android.server.PackageManagerService.<init>
(PackageManagerService.java:464)
W/PackageParser( 634): at
com.android.server.PackageManagerService.main
(PackageManagerService.java:261)
W/PackageParser( 634): at com.android.server.ServerThread.run
(SystemServer.java:119)

and later it crash:

: Unable to start service Intent
{ action=android.accounts.IAccountsService comp=
{com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} }: not found
W/AccountMonitor( 634): Couldn't connect to Intent
{ action=android.accounts.IAccountsService comp=
{com.google.android.googleapps/
com.google.android.googleapps.GoogleLoginService} } (Missing service?)
I/SystemServer( 634): Starting System Content Providers.
I/ActivityThread( 634): Publishing provider sync:
android.content.SyncProvider
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/lights.goldfish.so
error=Cannot find library
W/HAL ( 634): load: module=/system/lib/hw/lights.s3c6410.so
error=Cannot find library
W/HAL ( 634): load: module=/system/lib/hw/lights.default.so
error=Cannot find library
E/ActivityThread( 634): Failed to find provider info for settings
W/dalvikvm( 634): threadid=31: thread exiting with uncaught exception
(group=0x4000fe70)
E/AndroidRuntime( 634): Uncaught handler: thread PowerManagerService
exiting due to uncaught exception
E/AndroidRuntime( 634): *** EXCEPTION IN SYSTEM PROCESS. System will
crash.
E/AndroidRuntime( 634): java.lang.NullPointerException
E/AndroidRuntime( 634): at android.content.ContentQueryMap.<init>
(ContentQueryMap.java:65)
E/AndroidRuntime( 634): at
com.android.server.PowerManagerService.initInThread
(PowerManagerService.java:418)
E/AndroidRuntime( 634): at com.



Other Threads

1. Question About Handler

Hi all,

I am trying to make a basic game.

I want to call the update() function every few seconds. So I found that it
can be done using Handler.

Whenever my handler receives a message, i will execute the update()
function.

However, when I try adding User Inputs, it gets more complicated.

Under the onKeyDown() function, I send another message to the handler to
call the updateInput() function.

The problem is that when i continue clicking the key, update() function is
never called. I believe that is because onKeyDown() keeps sending the
message to the handler.

Can any one let me know how to solve this problem?

Thanks in advance.

-- 

2. Calling it quits for awhile..

http://feedproxy.google.com/~r/cyanogenmod/web/~3/83uVo6eVIA4/calling-it-quits-for-awhile,Oh
nooooo

Jonitan17 , HTC MAGIC

-- 
"Indonesian Android Community [id-android]" 

3. pengguna Hero based on official 2.1 2.9 kernel!!

4. no ringtones show at Phone ringtones list

5. Weird Thing with my posts

6. Messaging Service Helpful?

7. Video creation tools?