无法在Ubuntu Linux 16.04中安装kurento-media-server-6.0,它总是显示依赖性问题,如下所示.
sudo apt-get install kurento-media-server-6.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
kurento-media-server-6.0 : Depends: kms-core-6.0 (>= 6.6.1) but it …
Run Code Online (Sandbox Code Playgroud) NSURL
印刷null
.什么原因?
NSString *webStr = [[NSString alloc] initWithFormat:@"%@",[webArray objectAtIndex:1]];
NSLog(@"urlString = %@",webStr); // its printing correct url string
NSURL *webURL = [[NSURL alloc] initWithString:webStr];
NSLog(@"url = %@",webURL); // its printing null
[webURL release];
[webStr release];
Run Code Online (Sandbox Code Playgroud) 我正在尝试使用 cURL 命令将 fcm 消息发送到特定主题,但它显示错误,例如
{ "error": { "code": 401, "message": "请求的身份验证凭据无效。需要 OAuth 2 访问令牌、登录 cookie 或其他有效的身份验证凭据。请参阅https://developers.google.com/identity/登录/web/devconsole-project。” , “状态”: “未经身份验证” } }
我使用了 firebase 控制台中的服务器密钥
我遵循了FCM 文档
如何解决此 401 错误。
curl unauthorized push-notification firebase firebase-cloud-messaging