ACCESS友盟 集成测试

目的

友盟的融会测试可实时看到日志,不欲相当交第二龙。但如用安卓真机调试的言语还是来接触麻烦,所以记录转己下模拟器集成测试的步骤。

官网:http://www.umeng.com/

增长测试设施

1、安装DeviceID.apk(用来查阅设备信息)

2、安装成功后,在设施上开辟(推荐 海马玩模拟器)

3、软件会自动获得到 IMEI 和WIFI MAC Address
,这点儿独价值当友盟的后台需要采取

4、在友盟的 集成测试后台
中添加装备,如下图所示

输入获取到的device_id,mac,例如:{“device_id”:”xxxx”,”mac_address”:”xxxx”}
名称:填设备名称

横流:前提是用已集成友盟SDK

5、打包APK,安装好以模拟器上,启动APP,在友盟的后台日志就会见实时刷新,如下图所示

 

 

Android查看调试Log?

安装好Android SDK后,在android sdk的
xxx/android-sdk/tools/monitor.bat 双击打开monitor.bat就见面弹出Android Device
Monitor

打启动后看Log中的 MobclickAgent     的信息

假使log中扣不交mac_address,在AndroidManifest.xml中添加

<uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/>

UALogEntry(client_stats:ClientStats(successful_requests:13,
failed_requests:0, last_request_spent_ms:115),
app_info:AppInfo(key:556bd4ac67e58e72040029b3, version:1.10810
Development, version_index:10810,
package_name:com.cosmosbox.StrikeHero, sdk_type:ANDROID,
sdk_version:5.5.3.0, channel:Development, wrapper_type:Unity,
wrapper_version:1.6, vertical_type:1), device_info:DeviceInfo(device_id:357656050778701,
idmd5:55528b4fefa7e5aea9096a38cf6eb8d, mac_address:,
model:C6802, cpu:ARMv7 Processor rev 0 (v7l), os:Android,
os_version:4.3, resolution:Resolution(height:1824, width:1080),
device_board:MSM8974, device_brand:Sony,
device_manutime:1389197219000, device_manufacturer:Sony,
device_manuid:14.2.A.1.136, device_name:C6802),
misc_info:MiscInfo(time_zone:8, language:zh, country:TW, carrier:CTM,
access_type:ACCESS_TYPE_WIFI),
sessions:[Session(id:43DB0F728E6AA7AEC7897836E637F248,
start_time:1433232881322, end_time:1433234025158, duration:1143836,
pages:[Page(page_name:Home, duration:8299),
Page(page_name:ChapterList, duration:3591), Page(page_name:Home,
duration:47018), Page(page_name:Home, duration:14051),
Page(page_name:ChapterList, duration:1610), Page(page_name:LevelList,
duration:57496), Page(page_name:ChapterList, duration:5041),
Page(page_name:LevelList, duration:324340), Page(page_name:Home,
duration:51677), Page(page_name:ChapterList, duration:3630),
Page(page_name:LevelList, duration:2892)],
traffic:Traffic(upload_traffic:211819, download_traffic:97588))],
imprint:Imprint(property:{umid=ImprintValue(value:55528b4fefa7e5aea9096a38cf6eb8d,
ts:1433230219745, guid:91fb418336fde92a273ff42021da5fd812753a2f)},
version:1, checksum:517f8b423fa10ae18b2d47bb09f8d12d),
id_tracking:IdTracking(snapshots:{android_id=IdSnapshot(identity:99bcbdb70940cf02,
ts:1433230386545, version:1),
utdid=IdSnapshot(identity:VW1Z/6ojZY4DAHyxJck9p/+P, ts:1433230386548,
version:1), serial=IdSnapshot(identity:EP7327JRUT, ts:1433230386545,
version:1), imei=IdSnapshot(identity:357656050778701, ts:1433230386544,
version:1), idmd5=IdSnapshot(identity:55528b4fefa7e5aea9096a38cf6eb8d,
ts:1433230386545, version:1)}, journals:[]))

 

友盟SDK for
unity开发文档:http://dev.umeng.com/game_analytics/game-unity/integration#1

游戏统计集成测试文档:
http://dev.umeng.com/game_analytics/gt/game-test#1

实时日记截图

下是有本身在联网友盟SDK的实时日志截图

接触发行也:点金手

 

接触发行也:买VIP

 

点发行也:恢复体力

 

点发行也:抽奖

至于误日志

联系过友盟的开发人员,现阶段尚无法捕捉到C#的Error日志,只支持Java级的谬误日志

相关文章