Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/android/215.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Android 如何读取错误报告_Android_Eclipse_Parse Platform - Fatal编程技术网

Android 如何读取错误报告

Android 如何读取错误报告,android,eclipse,parse-platform,Android,Eclipse,Parse Platform,这是什么意思? 我对编码很陌生,大部分是自学的,但我不知道如何阅读这篇文章,如果错误与解析相关,我也不知道如何修复。我花了数小时的时间反复阅读解析代码(直接从解析网站复制) 它准确地告诉你该做什么。在使用解析库之前,必须调用Parse.initialize(上下文、应用程序ID、clientKey) java.lang.RuntimeException: Unable to start receiver com.parse.ParseBroadcastReceiver: java.lang.Ru

这是什么意思? 我对编码很陌生,大部分是自学的,但我不知道如何阅读这篇文章,如果错误与解析相关,我也不知道如何修复。我花了数小时的时间反复阅读解析代码(直接从解析网站复制)


它准确地告诉你该做什么。在使用解析库之前,必须调用Parse.initialize(上下文、应用程序ID、clientKey)

java.lang.RuntimeException: Unable to start receiver com.parse.ParseBroadcastReceiver: java.lang.RuntimeException: applicationContext is null. You must call Parse.initialize(context, applicationId, clientKey) before using the Parse library.
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2675)
at android.app.ActivityThread.access$1800(ActivityThread.java:175)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1384)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5602)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.RuntimeException: applicationContext is null. You must call Parse.initialize(context, applicationId, clientKey) before using the Parse library.
at com.parse.Parse.checkContext(Parse.java:557)
at com.parse.Parse.getApplicationContext(Parse.java:165)
at com.parse.ManifestInfo.getContext(ManifestInfo.java:221)
at com.parse.ManifestInfo.getPackageManager(ManifestInfo.java:229)
at com.parse.ManifestInfo.getPackageInfo(ManifestInfo.java:240)
at com.parse.ManifestInfo.deviceSupportsGcm(ManifestInfo.java:325)
at com.parse.ManifestInfo.getPushType(ManifestInfo.java:109)
at com.parse.PushService.startServiceIfRequired(PushService.java:150)
at com.parse.ParseBroadcastReceiver.onReceive(ParseBroadcastReceiver.java:19)
at android.app.ActivityThread.handleReceiver(ActivityThread.java:2660)