致命异性:主要(地图和路线选择程序)

时间:2012-12-27 09:33:34

标签: android eclipse android-intent android-maps

我收到了这些错误。我的程序是读取当前位置并路由地图路径..以前它在我的Eclipse上运行..我在一个月前检查过它们。当我今天再次尝试运行它时出现这些错误...“不幸的是FirstMap有停止了“有人能告诉我是什么原因造成的吗?是因为Eclipse吗?还是SDK?还是api?我测试了api 8和13 ..它不起作用

非常感谢

01-18 02:53:14.372: E/AndroidRuntime(806): FATAL EXCEPTION: main
01-18 02:53:14.372: E/AndroidRuntime(806): java.lang.RuntimeException: Unable to start activity ComponentInfo{my.android.map/my.android.map.MyMap}: java.lang.IllegalArgumentException: provider=network
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1956)
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1981)
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.app.ActivityThread.access$600(ActivityThread.java:123)
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1147)
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.os.Handler.dispatchMessage(Handler.java:99)
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.os.Looper.loop(Looper.java:137)
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.app.ActivityThread.main(ActivityThread.java:4424)
01-18 02:53:14.372: E/AndroidRuntime(806):  at java.lang.reflect.Method.invokeNative(Native Method)
01-18 02:53:14.372: E/AndroidRuntime(806):  at java.lang.reflect.Method.invoke(Method.java:511)
01-18 02:53:14.372: E/AndroidRuntime(806):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
01-18 02:53:14.372: E/AndroidRuntime(806):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
01-18 02:53:14.372: E/AndroidRuntime(806):  at dalvik.system.NativeStart.main(Native Method)
01-18 02:53:14.372: E/AndroidRuntime(806): Caused by: java.lang.IllegalArgumentException: provider=network
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.os.Parcel.readException(Parcel.java:1331)
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.os.Parcel.readException(Parcel.java:1281)
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.location.ILocationManager$Stub$Proxy.requestLocationUpdates(ILocationManager.java:646)
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.location.LocationManager._requestLocationUpdates(LocationManager.java:589)
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.location.LocationManager.requestLocationUpdates(LocationManager.java:453)
01-18 02:53:14.372: E/AndroidRuntime(806):  at my.android.map.MyMap.onCreate(MyMap.java:104)
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.app.Activity.performCreate(Activity.java:4465)
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1049)
01-18 02:53:14.372: E/AndroidRuntime(806):  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1920)

我的假设解决方案:

至于现在......问题仍然存在。

我现在正在更新我的sdk eclipse ..一旦更新完成..我将更新(18.01.13-今天)它在这里要么工作与否..

0 个答案:

没有答案