Channel/Android/hyyngame_huawei/AndroidManifest.xml | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/baseProjectTemplate.gradle | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/debug/libs/library-debug-hyyngame.aar | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/deps.gradle | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/google-services.json | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/gradleTemplate.properties | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/launcherTemplate.gradle | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/mainTemplate.gradle | ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/release/libs/ald_v.aar | 补丁 | 查看 | 原始文档 | blame | 历史 | |
Channel/Android/hyyngame_huawei/release/libs/library-release-hyyngame.aar | 补丁 | 查看 | 原始文档 | blame | 历史 |
Channel/Android/hyyngame_huawei/AndroidManifest.xml
New file @@ -0,0 +1,17 @@ <?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.unity3d.player" xmlns:tools="http://schemas.android.com/tools"> <application android:allowNativeHeapPointerTagging="false"> <activity android:name="com.secondworld.sdk.GameActivity" android:theme="@style/UnityThemeSelector"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> <meta-data android:name="unityplayer.UnityActivity" android:value="true" /> </activity> </application> </manifest> Channel/Android/hyyngame_huawei/baseProjectTemplate.gradle
New file @@ -0,0 +1,34 @@ // GENERATED BY UNITY. REMOVE THIS COMMENT TO PREVENT OVERWRITING WHEN EXPORTING AGAIN allprojects { buildscript { repositories {**ARTIFACTORYREPOSITORY** google() jcenter() maven { url 'https://developer.huawei.com/repo/' } } dependencies { // If you are changing the Android Gradle Plugin version, make sure it is compatible with the Gradle version preinstalled with Unity // See which Gradle version is preinstalled with Unity here https://docs.unity3d.com/Manual/android-gradle-overview.html // See official Gradle and Android Gradle Plugin compatibility table here https://developer.android.com/studio/releases/gradle-plugin#updating-gradle // To specify a custom Gradle version in Unity, go do "Preferences > External Tools", uncheck "Gradle Installed with Unity (recommended)" and specify a path to a custom Gradle version classpath 'com.android.tools.build:gradle:4.0.1' classpath 'com.huawei.agconnect:agcp:1.6.0.300' **BUILD_SCRIPT_DEPS** } } repositories {**ARTIFACTORYREPOSITORY** google() jcenter() maven { url 'https://developer.huawei.com/repo/' } flatDir { dirs "${project(':unityLibrary').projectDir}/libs" } } } task clean(type: Delete) { delete rootProject.buildDir } Channel/Android/hyyngame_huawei/debug/libs/library-debug-hyyngame.aarBinary files differ
Channel/Android/hyyngame_huawei/deps.gradle
New file @@ -0,0 +1,3 @@ dependencies { } Channel/Android/hyyngame_huawei/google-services.json
New file @@ -0,0 +1,2 @@ { } Channel/Android/hyyngame_huawei/gradleTemplate.properties
New file @@ -0,0 +1,7 @@ org.gradle.jvmargs=-Xmx**JVM_HEAP_SIZE**M org.gradle.parallel=true android.useAndroidX=true ## Automatically convert third-party libraries to use AndroidX android.enableJetifier=true unityStreamingAssets=.unity3d **ADDITIONAL_PROPERTIES** Channel/Android/hyyngame_huawei/launcherTemplate.gradle
New file @@ -0,0 +1,76 @@ apply plugin: 'com.android.application' dependencies { implementation project(':unityLibrary') } android { compileSdkVersion **APIVERSION** buildToolsVersion '33.0.0' repositories { flatDir { dirs 'libs' } } compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } packagingOptions {exclude 'META-INF/rxjava.properties'} defaultConfig { minSdkVersion **MINSDKVERSION** targetSdkVersion **TARGETSDKVERSION** applicationId '**APPLICATIONID**' ndk { abiFilters **ABIFILTERS** } versionCode **VERSIONCODE** versionName '**VERSIONNAME**' } aaptOptions { noCompress = ['.unity3d', '.ress', '.resource', '.obb'] + unityStreamingAssets.tokenize(', ') ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~" }**SIGN** lintOptions { abortOnError false checkReleaseBuilds false } buildTypes { debug { minifyEnabled **MINIFY_DEBUG** useProguard **PROGUARD_DEBUG** proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG** jniDebuggable true } release { minifyEnabled **MINIFY_RELEASE** useProguard **PROGUARD_RELEASE** proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG** } }**PACKAGING_OPTIONS****PLAY_ASSET_PACKS****SPLITS** **BUILT_APK_LOCATION** bundle { language { enableSplit = false } density { enableSplit = false } abi { enableSplit = true } } }**SPLITS_VERSION_CODE****LAUNCHER_SOURCE_BUILD_SETUP** task copyJsonFile { copy { System.out.println("copy googlejson==============="); } } apply plugin: 'com.huawei.agconnect' Channel/Android/hyyngame_huawei/mainTemplate.gradle
New file @@ -0,0 +1,66 @@ apply plugin: 'com.android.library' //**APPLY_PLUGINS** apply from: 'deps.gradle' dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) implementation(name: 'ald_v', ext: 'aar') //x.x.x为具体版本 //SDK基础能力 implementation 'com.appsflyer:af-android-sdk:6.14.0' implementation 'com.android.installreferrer:installreferrer:2.2' api 'androidx.annotation:annotation:1.5.0' api 'androidx.core:core:1.6.0' api 'androidx.percentlayout:percentlayout:1.0.0' //google ID implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1' //firebase implementation 'com.google.firebase:firebase-analytics' implementation platform('com.google.firebase:firebase-bom:31.2.2') { exclude group: 'com.android.support', module: 'support-compat' } //base theme api 'androidx.appcompat:appcompat:1.2.0' //ald ui用 api 'androidx.cardview:cardview:1.0.0' // 華為賬戶 implementation 'com.huawei.hms:hwid:6.11.0.300' // 華為推送 implementation 'com.huawei.hms:push:6.11.0.300' // 華為支付 implementation 'com.huawei.hms:iap:6.11.0.300' **DEPS**} android { compileSdkVersion **APIVERSION** buildToolsVersion '33.0.0' compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } packagingOptions {exclude 'META-INF/rxjava.properties'} defaultConfig { minSdkVersion **MINSDKVERSION** targetSdkVersion **TARGETSDKVERSION** ndk { abiFilters **ABIFILTERS** } versionCode **VERSIONCODE** versionName '**VERSIONNAME**' consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD** } lintOptions { abortOnError false checkReleaseBuilds false } aaptOptions { ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:.*:!CVS:!thumbs.db:!picasa.ini:!*~" }**PACKAGING_OPTIONS** }**REPOSITORIES****SOURCE_BUILD_SETUP** **EXTERNAL_SOURCES** Channel/Android/hyyngame_huawei/release/libs/ald_v.aarBinary files differ
Channel/Android/hyyngame_huawei/release/libs/library-release-hyyngame.aarBinary files differ