当前位置:网站首页>[pit avoidance guide] pit encountered by unity3d project when accessing Tencent bugly tool
[pit avoidance guide] pit encountered by unity3d project when accessing Tencent bugly tool
2022-07-02 10:24:00 【I want to play games while my hair is heavy】
- Bloggers are through This simplified tool Successfully configured Bugly The plug-in , Friends in need don't have to read further , Direct reference , To avoid wasting time , If you don't understand, you can leave a message
- This blog is just a refuge , The detailed access guide still needs to be read The official manual
(1) use Javac The error message after compilation is displayed as garbled
Console input chcp
Check whether the current page code is 936, If not, enter chcp 936
It is amended as follows GBK Code to view .
(2) How to use CrashReport
call CrashReport.initCrashReport(getApplicationContext(), "xxxx", false);
Report errors , Import package first :
import com.tencent.bugly.crashreport.CrashReport;
(3)build.gradle Compilation failed after importing the plug-in
According to the official manual :
implementation 'com.tencent.bugly:crashreport:latest.release'
implementation 'com.tencent.bugly:nativecrashreport:latest.release'
An error is reported after importing the plug-in Duplicate class xxxxx found in modules xxxxx
And so on. , It indicates that duplicate classes have been imported , Take the repeated one from implementation It is amended as follows compileOnly that will do .
(4) How to see Bugly Log
Cell phone connected to computer , Console input adb logcat CrashReportInfo:I >buglyLog.txt
, Indicates that the label is CrashReportInfo
At the level of I
The above logs are output to buglyLog.txt
in .
(5) Follow the official tutorial step by step , But can't catch exceptions
The tool itself is to save time , If it takes a lot of time to check, it really shouldn't , It is strongly recommended to refer to It's done by others Well .
边栏推荐
- 【Unity3D】制作进度条——让Image同时具有Filled和Sliced的功能
- Mobile mall app solution: how much is it to make an app? Detailed explanation of APP mall development content
- Skywalking theory and Practice
- 虚幻——动画蓝图、状态机制作人物走跑跳动作
- How to judge the quality of primary market projects when the market is depressed?
- pytest--之测试报告allure配置
- Project practice, redis cluster technology learning (IX)
- 2837xd code generation module learning (3) -- IIC, ECAN, SCI, watchdog, ECAP modules
- ICLR 2022: how does AI recognize "things I haven't seen"?
- Vscode set JSON file to format automatically after saving
猜你喜欢
随机推荐
[unreal] key to open the door blueprint notes
虛幻AI藍圖基礎筆記(萬字整理)
判断数组中是否存在重复元素
Following nym, the new project Galaxy token announced by coinlist is gal
[ue5] two implementation methods of AI random roaming blueprint (role blueprint and behavior tree)
Post disaster reconstruction -- Floyd thought
Tee command usage example
2021-09-12
Blender stone carving
[IDL] Research
2021-10-04
【虚幻】按键开门蓝图笔记
VLAN experiment
2021-10-02
Blender volume fog
虚幻材质编辑器基础——如何连接一个最基本的材质
合并有序数列
Ctrip starts mixed office. How can small and medium-sized enterprises achieve mixed office?
[ue5] animation redirection: how to import magic tower characters into the game
[leetcode] sword finger offer 53 - I. find the number I in the sorted array