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/
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. MultiScreen Support in Android?

Hi,

I want to support most of the Android Devices for the application. The
problem that I am facing is the positioning of the EditText fields.
The User Interface gets displayed properly in HVGA Emulator but not in
WVGA emulator. The HVGA emulator is 320 * 480 screen resolution and
the WVGA is 480 * 800. I have inserted the support-screens tag in the
manifest file, but still it remains the same.

I have used RelativeLayout and specified layout_marginTop = 220dip for
the EditText. I am using a background image on top of which I want
this EditText field. The background image has a box into which this
EditText filed should come. By specifying 220dip as the top margin it
is displayed appropriately in HVGA but slightly above the box in
WVGA.

Can some one point what may be the problem or suggest something that
may sort out this issue?



Thanks & Regards
Sunil

-- 

2. how can i make drag animation like in application menu and notification?

Hi Dear,

i want to drag up and down or left and right same like we do to see
notifications and menu.

can anybody point to the right direction please?

-- 

3. Notepadv3 tutorial...

4. /proc/wakelocks kernel Null pointer panic

5. Paging david yg mu beli matrix di bandung

6. inhibit device

7. Powertop tool issue on OMAP_Zoom