Not loading Phone.apk on emulator

by vishnu » Tue, 08 Sep 2009 11:09:59 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. how to reference a string resource from within another string resource


Is it possible to reference a string resource from another string
resource?  I am trying to do something like:

<string name="app_name">My App</string>
<string name="welcome">Welcome to @string/app_name</string>

I am also curious about referencing android/versionName within the
resource, e.g.
<string name="welcome">Welcome to @string/app_name, version

I can't get either of the above to work.  If anyone can give me any
suggestions, I'd appreciate it.




2. Master build breakage (WAS: OHA Website Inaccuracies)

If your crash is during recovery stuff, lists the fix:
If, after a recent repo sync of the master branch, your build fails with an
error like this:

build/core/ *** recovery/amend:
MODULE.HOST.EXECUTABLES.amend already defined by bootable/recovery/amend.

(or a similar complaint about something under recovery or
bootloader/legacy), your client probably has extra copies of a few projects
in their old locations.  You should be able to fix the problem by deleting

*# Before deleting, be sure that these directories don't contain any files
that you don't want to lose*
rm -rf recovery bootloader

Or, you can delete your existing client and re-run "repo init". Clients
created after the initial merge from cupcake to master should not have this


3. how to build and step through HelloAndroid in the debugger using the open source framework?

4. Fw: Android and bluetooth

5. file system change notification

6. Xml validation

7. Android Market Developers need phones