UMLOG: (ERROR) Umeng event's keys and values must be string ,key's max length 128 and value's max le
来源:互联网 发布:贝叶斯网络训练 编辑:程序博客网 时间:2024/05/16 04:39
//友盟统计用户下单事件(服务器返回的数据不为字符串类型,需要转化为字符串才行)
NSDictionary *attributes = @{@"userId" : userId, @"productId" : [NSStringstringWithFormat:@"%@",productId]};
[MobClick event:@"PlaceAnOrder" attributes:attributes];
//正确设置字符串后打印日志如下:
2016-05-09 14:41:45.065 WanWenWan[4660:1532687] UMLOG: ekv: session_id=4CD4890C0D94EC6B8E5A72C90331D71D, id=PlaceAnOrder,values={
productId = 3245;
userId = 212;
}
我的错误原因:
NSDictionary *attributes = @{@"userId" : @(123), @"productId" : [NSStringstringWithFormat:@"%@",productId]};
这里的NSNumber不支持
1 0
- UMLOG: (ERROR) Umeng event's keys and values must be string ,key's max length 128 and value's max le
- Header "%s" value must not be undefined
- Max Number of A's given four keys
- max value and index
- 1889. Max’s game
- The app's Info.plist must contain an NSPhotoLibraryUsageDescription key with a string value explaini
- array used and char`s array and string`s array
- Sicily 1796. Max's kingdom
- Sicily 1796. Max's kingdom
- soj 1796. Max's kingdom
- Sicily 1796. Max's kingdom
- Sicily 1889. Max’s game
- iOS 10相机崩溃 The app's Info.plist must contain an NSCameraUsageDescription key with a string value
- iOS之报错The app's Info.plist must contain an xxx key with a string value explaining
- Windows Azure SDK for .NET Configuration And The certificate's private key could not be accessed
- printf("%.*s", length, string) & sprintf(destr, "%.*s", length, string);
- B/S And C/S
- C/S and B/S
- 0718 -- 0728 webview/博客园资料/多线程/网络请求不同方式/导航栏外观设置
- BestCoder 2nd Anniversary HDU5719 Arrange
- Hadoop集群配置之后浏览器无法访问问题
- 比特币协议是怎样工作的(下)
- java语言基础入门——类的介绍
- UMLOG: (ERROR) Umeng event's keys and values must be string ,key's max length 128 and value's max le
- 链接 skyeye-1.3.5 的时候出现 /usr/bin/ld: cannot find -lltdl
- 索引关键字的选取原则
- android在genymotion上使用ffmpeg crash解决办法
- Android 蓝牙开发(二)蓝牙Ble 开发(android4.3)
- 51Nod 编辑距离 DP+滚动数组
- 迷宫的最短路径(bfs)
- poj 3070 Fibonacci(矩阵快速幂模板,斐波那契)
- 指针(2)