Channel/Android/hyenglish_leidian/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/hyenglish_leidian/LauncherManifest.xml
New file @@ -0,0 +1,33 @@ <?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" android:installLocation="preferExternal"> <supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true"/> <application android:label="@string/app_name" android:icon="@mipmap/app_icon"> <activity android:name="com.facebook.CustomTabActivity" android:exported="false" tools:replace="android:exported" tools:ignore="AppLinkUrlError"> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="@string/fb_login_protocol_scheme" tools:ignore="ManifestResource" /> </intent-filter> </activity> </application> </manifest> Channel/Android/hyenglish_leidian/baseProjectTemplate.gradle
New file @@ -0,0 +1,14 @@ plugins { // 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 id 'com.android.application' version '7.1.2' apply false id 'com.android.library' version '7.1.2' apply false //id 'com.android.tools.build' version "7.3.0" apply false **BUILD_SCRIPT_DEPS** } task clean(type: Delete) { delete rootProject.buildDir } Channel/Android/hyenglish_leidian/debug/libs/library-debug-hyyngame.aarBinary files differ
Channel/Android/hyenglish_leidian/deps.gradle
New file @@ -0,0 +1,3 @@ dependencies { } Channel/Android/hyenglish_leidian/google-services.json
New file @@ -0,0 +1,3 @@ { } Channel/Android/hyenglish_leidian/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/hyenglish_leidian/launcherTemplate.gradle
New file @@ -0,0 +1,64 @@ apply plugin: 'com.android.application' dependencies { implementation project(':unityLibrary') } android { ndkPath "**NDKPATH**" compileSdkVersion 34 buildToolsVersion '34.0.0' compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } packagingOptions {exclude 'META-INF/rxjava.properties'} defaultConfig { minSdkVersion 24 targetSdkVersion 34 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** proguardFiles getDefaultProguardFile('proguard-android.txt')**SIGNCONFIG** jniDebuggable true } release { minifyEnabled **MINIFY_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** Channel/Android/hyenglish_leidian/mainTemplate.gradle
New file @@ -0,0 +1,67 @@ apply plugin: 'com.android.library' **APPLY_PLUGINS** 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' //base theme api 'androidx.appcompat:appcompat:1.2.0' //ald ui用 api 'androidx.cardview:cardview:1.0.0' implementation('androidx.browser:browser:1.5.0') //google ID implementation 'com.google.android.gms:play-services-ads-identifier:18.0.1' //firebase implementation 'com.google.firebase:firebase-analytics' implementation 'com.google.firebase:firebase-crashlytics' // implementation 'com.google.firebase:firebase-messaging' //不加了log会报FirebaseMessagingService缺失提示,但是并不影响上报 implementation platform('com.google.firebase:firebase-bom:31.2.2') { exclude group: 'com.android.support', module: 'support-compat' } **DEPS**} android { ndkPath "**NDKPATH**" compileSdkVersion 34 buildToolsVersion '34.0.0' compileOptions { sourceCompatibility JavaVersion.VERSION_11 targetCompatibility JavaVersion.VERSION_11 } packagingOptions {exclude 'META-INF/rxjava.properties'} defaultConfig { minSdkVersion 24 targetSdkVersion 34 ndk { abiFilters **ABIFILTERS** } versionCode **VERSIONCODE** versionName '**VERSIONNAME**' consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD** } lintOptions { abortOnError false checkReleaseBuilds false } aaptOptions { noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ') ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~" }**PACKAGING_OPTIONS** } **IL_CPP_BUILD_SETUP** **SOURCE_BUILD_SETUP** **EXTERNAL_SOURCES** Channel/Android/hyenglish_leidian/release/libs/ald_v.aarBinary files differ
Channel/Android/hyenglish_leidian/release/libs/library-release-hyyngame.aarBinary files differ
Channel/Android/hyenglish_leidian/settingsTemplate.gradle
New file @@ -0,0 +1,37 @@ pluginManagement { repositories { **ARTIFACTORYREPOSITORY** maven { url "https://jitpack.io" } maven { url 'https://maven.aliyun.com/repository/releases' } maven { url 'https://maven.aliyun.com/repository/jcenter' } maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/central' } maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } maven { url 'https://maven.aliyun.com/repository/public' } gradlePluginPortal() google() mavenCentral() } } include ':launcher', ':unityLibrary' **INCLUDES** dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS) repositories { **ARTIFACTORYREPOSITORY** maven { url "https://jitpack.io" } maven { url 'https://maven.aliyun.com/repository/releases' } maven { url 'https://maven.aliyun.com/repository/jcenter' } maven { url 'https://maven.aliyun.com/repository/google' } maven { url 'https://maven.aliyun.com/repository/central' } maven { url 'https://maven.aliyun.com/repository/gradle-plugin' } maven { url 'https://maven.aliyun.com/repository/public' } google() mavenCentral() flatDir { dirs "${project(':unityLibrary').projectDir}/libs" } } }