gpt4 book ai didi

android - 无法使 SurveyMonkey Mobile SDK 工作

转载 作者:行者123 更新时间:2023-11-30 01:31:54 27 4
gpt4 key购买 nike

我正在尝试将 SurveyMonkey 集成到我正在构建的应用程序中。我注册了一个免费的 SurveyMonkey 帐户并创建了一个样本调查问题。我还根据需要设置了 Mobile SDK Collector。我按照 GitHub 页面 (https://github.com/SurveyMonkey/surveymonkey-android-sdk) 上概述的步骤进行项目设置。我复制/粘贴了简单的应用程序并用我自己的替换了调查哈希。当我尝试启动调查时,调查拒绝启动并收到以下错误:

com.surveymonkey.surveymonkeyandroidsdk.SMFeedbackActivity has leaked IntentReceiver com.surveymonkey.surveymonkeyandroidsdk.SMFeedbackActivity$ConnectivityMonitor@19aceecc that was originally registered here. Are you missing a call to unregisterReceiver()?
android.app.IntentReceiverLeaked: Activity com.surveymonkey.surveymonkeyandroidsdk.SMFeedbackActivity has leaked IntentReceiver com.surveymonkey.surveymonkeyandroidsdk.SMFeedbackActivity$ConnectivityMonitor@19aceecc that was originally registered here. Are you missing a call to unregisterReceiver()?
at android.app.LoadedApk$ReceiverDispatcher.<init>(LoadedApk.java:960)
at android.app.LoadedApk.getReceiverDispatcher(LoadedApk.java:761)
at android.app.ContextImpl.registerReceiverInternal(ContextImpl.java:2003)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1983)
at android.app.ContextImpl.registerReceiver(ContextImpl.java:1977)
at android.content.ContextWrapper.registerReceiver(ContextWrapper.java:503)
at com.surveymonkey.surveymonkeyandroidsdk.SMFeedbackActivity.onCreate(SMFeedbackActivity.java:67)
at android.app.Activity.performCreate(Activity.java:6221)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1119)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2614)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
at android.app.ActivityThread.access$900(ActivityThread.java:172)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1421)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5835)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1399)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1194)

我查看了 API 文档试图找出这个错误。我错过了什么?

最佳答案

TEK292,感谢您的帖子!我是负责开发 SDK 的 SurveyMonkey 工程师。我刚刚在我们的 Github 上发布了新版本的 SDK那应该可以解决您的问题。如果没有,请随时通过 Github issues 联系我们,或在这篇文章上发表进一步评论。再次感谢。

关于android - 无法使 SurveyMonkey Mobile SDK 工作,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35631101/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com