根据文档实施AppCenter分析,并使用来自HockeyApp的secret (应用程序中心无设置页面)。
AppCenter.Start("zzzzzzzzzzzzzzzzzzz", typeof(Analytics));导致以下授权错误
[AppCenter] ERROR: Sending logs for channel 'core', batch 'xxxxxxxxxxxxxxx' failed: HTTP response status=401 (Unauthorized) payload=CorrelationId: yyyyyyyyyyyyyyyyy ReasonCode: AppSecretDenied
[AppCenter] ERROR: Sending logs for channel 'analytics', batch 'xxxxxxxxxxxxxx' failed: HTTP response status=401 (Unauthorized) payload=CorrelationId: yyyyyyyyyyy ReasonCode: AppSecretDenied 以及TrackEvent上的以下错误
[AppCenter] WARN: Channel is disabled; logs are discarded发布于 2018-12-22 16:26:45
您必须在此处使用App Center应用密钥。这不在设置页面中,而是在概述页面中。转到应用程序中心中的应用程序,然后单击概述选项卡。在这里你应该看到Getting Started指南,它应该直接显示你必须使用的确切代码(应用程序秘密在屏幕截图中被编辑):

https://stackoverflow.com/questions/53890022
复制相似问题