You've already forked CC-Framework.CrashReport
update core
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 131a6b21c8605f84396be9f6751fb6e3
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,7 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2cda990e2423bbf4892e6590ba056729
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -1,33 +0,0 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Diagnostics;
|
||||
|
||||
public class SampleTest : MonoBehaviour
|
||||
{
|
||||
|
||||
public void Test1 ()
|
||||
{
|
||||
// //获取Unity的Activity Class
|
||||
// using (var activityClass = new AndroidJavaClass("com.unity3d.player.UnityPlayer"))
|
||||
// {
|
||||
// //获取对应的实例化对象,这两句都是固定写法
|
||||
// using (var activityContext = activityClass.GetStatic<AndroidJavaObject>("currentActivity"))
|
||||
// {
|
||||
// activityContext.Call ("Test1");
|
||||
// }
|
||||
// }
|
||||
// UnityEngine.Diagnostics.Utils.NativeAssert ("测试原生断言");
|
||||
UnityEngine.Diagnostics.Utils.ForceCrash (ForcedCrashCategory.AccessViolation);
|
||||
}
|
||||
|
||||
public void Test2 ()
|
||||
{
|
||||
BuglyAgent.ReportException ("测试2" , "测试异常" , "测试异常信息 ");
|
||||
}
|
||||
|
||||
public void Test3 ()
|
||||
{
|
||||
BuglyAgent.ReportException ("测试3" , "测试异常" , "测试异常信息 ");
|
||||
}
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9c675d2e692371d4c96ff83aac4144ce
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user