Do you have your cell-phone connected to your computer? if so de-
connect otherwise the avd wants to run you apps on your cellphone....
(needs more configuration than default)

On Oct 17, 2:44 pm, Zakir Hossain <[email protected]> wrote:
> Hello All:
>
> I am running my first android hello world application on windows 7
> with Android API 12 and SDK platform 3.1. The problem is every time I
> run it through AVD I got the following error message:
>
> Sorry!
> The application Launcher (process com.android.launcher) has stopper
> unexpectedly. Please try again.
>
> My log cat contains following errors:
>
> 10-17 18:36:30.322: ERROR/PhonePolicy(33): Could not preload class for
> phone policy: com.android.internal.policy.impl.PhoneWindow
> $ContextMenuCallback
> 10-17 18:36:49.372: ERROR/BatteryService(82): usbOnlinePath not found
> 10-17 18:36:49.372: ERROR/BatteryService(82): batteryVoltagePath not
> found
> 10-17 18:36:49.372: ERROR/BatteryService(82): batteryTemperaturePath
> not found
> 10-17 18:36:56.073: ERROR/EventHub(82): could not get driver version
> for /dev/input/mouse0, Not a typewriter
> 10-17 18:36:56.073: ERROR/EventHub(82): could not get driver version
> for /dev/input/mice, Not a typewriter
> 10-17 18:36:56.393: ERROR/WifiService(82): Invoking
> mWifiStateMachine.setWifiEnabled
> 10-17 18:36:57.753: ERROR/ThrottleService(82): Could not open GPS
> configuration file /etc/gps.conf
> 10-17 18:36:57.793: ERROR/NetworkTimeUpdateService(82): Could not open
> GPS configuration file /etc/gps.conf
> 10-17 18:36:57.793: ERROR/NetworkTimeUpdateService(82): NTP server
> address not found, not syncing to NTP time
> 10-17 18:36:59.322: ERROR/logwrapper(168): executing /system/bin/tc
> failed: No such file or directory
> 10-17 18:36:59.392: ERROR/logwrapper(170): executing /system/bin/tc
> failed: No such file or directory
> 10-17 18:36:59.452: ERROR/logwrapper(172): executing /system/bin/tc
> failed: No such file or directory
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151): FATAL EXCEPTION: main
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):
> java.lang.RuntimeException: Unable to start activity
> ComponentInfo{com.android.launcher/com.android.launcher2.Launcher}:
> android.content.res.Resources$NotFoundException: Resource ID
> #0x7f030015
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> 1748)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
> 1764)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.app.ActivityThread.access$1500(ActivityThread.java:122)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.app.ActivityThread$H.handleMessage(ActivityThread.java:1002)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.os.Handler.dispatchMessage(Handler.java:99)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.os.Looper.loop(Looper.java:132)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.app.ActivityThread.main(ActivityThread.java:4025)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> java.lang.reflect.Method.invokeNative(Native Method)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> java.lang.reflect.Method.invoke(Method.java:491)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> com.android.internal.os.ZygoteInit
> $MethodAndArgsCaller.run(ZygoteInit.java:841)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> dalvik.system.NativeStart.main(Native Method)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151): Caused by:
> android.content.res.Resources$NotFoundException: Resource ID
> #0x7f030015
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.content.res.Resources.getValue(Resources.java:1014)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.content.res.Resources.loadXmlResourceParser(Resources.java:
> 2039)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.content.res.Resources.getLayout(Resources.java:853)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.view.LayoutInflater.inflate(LayoutInflater.java:389)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.view.LayoutInflater.inflate(LayoutInflater.java:347)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.jav a:
> 223)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.app.Activity.setContentView(Activity.java:1780)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> com.android.launcher2.Launcher.onCreate(Launcher.java:336)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
> 1048)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     at
> android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
> 1712)
> 10-17 18:37:05.812: ERROR/AndroidRuntime(151):     ... 11 more
> 10-17 18:37:09.261: ERROR/SoundPool(82): error loading /system/media/
> audio/ui/Effect_Tick.ogg
> 10-17 18:37:09.261: ERROR/SoundPool(82): error loading /system/media/
> audio/ui/Effect_Tick.ogg
> 10-17 18:37:09.261: ERROR/SoundPool(82): error loading /system/media/
> audio/ui/Effect_Tick.ogg
> 10-17 18:37:09.271: ERROR/SoundPool(82): error loading /system/media/
> audio/ui/Effect_Tick.ogg
> 10-17 18:37:09.271: ERROR/SoundPool(82): error loading /system/media/
> audio/ui/Effect_Tick.ogg
> 10-17 18:37:09.321: ERROR/SoundPool(82): error loading /system/media/
> audio/ui/KeypressStandard.ogg
> 10-17 18:37:09.341: ERROR/SoundPool(82): error loading /system/media/
> audio/ui/KeypressSpacebar.ogg
> 10-17 18:37:09.352: ERROR/SoundPool(82): error loading /system/media/
> audio/ui/KeypressDelete.ogg
> 10-17 18:37:09.401: ERROR/SoundPool(82): error loading /system/media/
> audio/ui/KeypressReturn.ogg
> 10-17 18:37:18.940: ERROR/TelephonyManager(82): Hidden constructor
> called more than once per process!
> 10-17 18:37:18.940: ERROR/TelephonyManager(82): Original: android,
> new: android
>
> I am burning on this issue for the long time. can any one please help
> me !
>
> Thanks,
> zakir

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to