1

我使用来自https://github.com/liveservices/LiveSDK-for-Android的 LiveSdk 示例。我在配置文件中输入了我的 ClientID,编译并启动了示例应用程序。现在我得到:

java.lang.AssertionError: Unknown SkyDriveObject type

如果我登录并尝试打开 SkyDrive 文档。移动上传访问没有任何错误。任何想法都会有所帮助。谢谢你。

这是完整的跟踪:

E/AndroidRuntime(8872): FATAL EXCEPTION: main
E/AndroidRuntime(8872): java.lang.AssertionError: Unknown SkyDriveObject type
E/AndroidRuntime(8872): at com.microsoft.live.sample.skydrive.SkyDriveObject.create(SkyDriveObject.java:75)
E/AndroidRuntime(8872): at com.microsoft.live.sample.skydrive.SkyDriveActivity$9.onComplete(SkyDriveActivity.java:746)
E/AndroidRuntime(8872): at com.microsoft.live.LiveConnectClient$OperationObserver.onComplete(LiveConnectClient.java:249)
E/AndroidRuntime(8872): at com.microsoft.live.LiveConnectClient$OperationObserver.onComplete(LiveConnectClient.java:1)
E/AndroidRuntime(8872): at com.microsoft.live.ApiRequestAsync$OnCompleteRunnable.run(ApiRequestAsync.java:46)
E/AndroidRuntime(8872): at com.microsoft.live.ApiRequestAsync.onPostExecute(ApiRequestAsync.java:166)
E/AndroidRuntime(8872): at com.microsoft.live.ApiRequestAsync.onPostExecute(ApiRequestAsync.java:1)
E/AndroidRuntime(8872): at android.os.AsyncTask.finish(AsyncTask.java:631)
E/AndroidRuntime(8872): at android.os.AsyncTask.access$600(AsyncTask.java:177)
E/AndroidRuntime(8872): at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:644)
E/AndroidRuntime(8872): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(8872): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(8872): at android.app.ActivityThread.main(ActivityThread.java:5041)
E/AndroidRuntime(8872): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(8872): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime(8872): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:793)
E/AndroidRuntime(8872): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:560)
E/AndroidRuntime(8872): at dalvik.system.NativeStart.main(Native Method)
4

0 回答 0