Skip to content

Instantly share code, notes, and snippets.

using System.Collections;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using UnityEngine;
using HuaweiService;
using HuaweiService.analytic;
using UnityEditor;
using HuaweiService.crash;
using HuaweiService.push;
using HuaweiService.ads;
keytool -list -v -keystore D:\Unity\projects_unity\file_name.keystore -alias alias_name
apply plugin: 'com.huawei.agconnect'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.huawei.agconnect:agconnect-core:1.2.0.300'
implementation 'com.huawei.hms:ads-lite:13.4.29.303'
implementation 'com.huawei.hms:ads-consent:3.4.30.301'
implementation 'com.huawei.hms:hianalytics:5.1.0.300'
implementation 'com.huawei.hms:push:4.0.1.300'
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
implementation 'com.huawei.agconnect:agconnect-core:1.2.0.300'
implementation 'com.huawei.hms:ads-lite:13.4.29.303'
implementation 'com.huawei.hms:ads-consent:3.4.30.301'
implementation 'com.huawei.hms:hianalytics:5.2.0.300'
implementation 'com.huawei.hms:push:4.0.1.300'
using System.Collections;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using UnityEngine;
using HuaweiService;
using HuaweiService.analytic;
using UnityEditor;
using HuaweiService.crash;
using HuaweiService.push;
using HuaweiService.ads;
using System.Collections;
using System.Collections.Generic;
using UnityEngine.SceneManagement;
using UnityEngine;
using UnityEditor;
using HuaweiService;
using HuaweiService.ads;
public class Die : MonoBehaviour
{
<?xml version="1.0" encoding="utf-8"?>
<!-- GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN-->
<manifest
xmlns:android="http://schemas.android.com/apk/res/android"
package="com.unity3d.player"
xmlns:tools="http://schemas.android.com/tools">
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<application>
<activity android:name="com.huawei.AngryBirds2D.HmsAnalyticActivity"
keytool -list -v -keystore D:\Unity\projects_unity\file_name.keystore -alias alias_name