Unity engine fix

This commit is contained in:
MaticIvesic committed 2025-10-21 20:39:17 +02:00
1 parent 2b7b5cbd6a
commit 419497b9ba
45 files changed
+1375 -1185

No files matched your search

@@ -3,6 +3,6 @@
<application>
<uses-library android:required="false" android:name="org.apache.http.legacy" />
<meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="ca-app-pub-2626773788355001~6567280609" />
<meta-data android:name="com.google.unity.ads.UNITY_VERSION" android:value="2022.3.26f1" />
<meta-data android:name="com.google.unity.ads.UNITY_VERSION" android:value="6000.2.8f1" />
</application>
</manifest>
@@ -1,8 +1,5 @@
org.gradle.jvmargs=-Xmx**JVM_HEAP_SIZE**M
org.gradle.parallel=true
unityStreamingAssets=**STREAMING_ASSETS**
# Android Resolver Properties Start
org.gradle.jvmargs=-Xmx4096M
android.useAndroidX=true
android.enableJetifier=true
# Android Resolver Properties End
**ADDITIONAL_PROPERTIES**
android.enableNative16kPageSupport=true
+1 -1
View File
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: d0aa319fe0d7b7d40a02056dc9d8d5d5
guid: cfbc984143839e545934d41ea98537dd
DefaultImporter:
externalObjects: {}
userData:
+17 -10
View File
@@ -1,8 +1,11 @@
apply plugin: 'com.android.library'
apply from: '../shared/keepUnitySymbols.gradle'
apply from: '../shared/common.gradle'
**APPLY_PLUGINS**
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
// Android Resolver Dependencies Start
implementation 'androidx.constraintlayout:constraintlayout:2.1.4' // Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:12
implementation 'com.google.android.gms:play-services-ads:23.2.0' // Assets/GoogleMobileAds/Editor/GoogleMobileAdsDependencies.xml:7
@@ -16,7 +19,7 @@ dependencies {
// Android Resolver Exclusions Start
android {
packagingOptions {
packaging {
exclude ('/lib/armeabi/*' + '*')
exclude ('/lib/mips/*' + '*')
exclude ('/lib/mips64/*' + '*')
@@ -26,35 +29,39 @@ android {
}
// Android Resolver Exclusions End
android {
namespace "com.unity3d.player"
ndkPath "**NDKPATH**"
ndkVersion "**NDKVERSION**"
compileSdkVersion **APIVERSION**
buildToolsVersion '**BUILDTOOLS**'
compileSdk **APIVERSION**
buildToolsVersion = "**BUILDTOOLS**"
compileOptions {
sourceCompatibility JavaVersion.VERSION_11
targetCompatibility JavaVersion.VERSION_11
sourceCompatibility JavaVersion.VERSION_17
targetCompatibility JavaVersion.VERSION_17
}
defaultConfig {
minSdkVersion **MINSDKVERSION**
targetSdkVersion **TARGETSDKVERSION**
minSdk **MINSDK**
targetSdk **TARGETSDK**
ndk {
abiFilters **ABIFILTERS**
debugSymbolLevel **DEBUGSYMBOLLEVEL**
}
versionCode **VERSIONCODE**
versionName '**VERSIONNAME**'
consumerProguardFiles 'proguard-unity.txt'**USER_PROGUARD**
**DEFAULT_CONFIG_SETUP**
}
lintOptions {
lint {
abortOnError false
}
aaptOptions {
androidResources {
noCompress = **BUILTIN_NOCOMPRESS** + unityStreamingAssets.tokenize(', ')
ignoreAssetsPattern = "!.svn:!.git:!.ds_store:!*.scc:!CVS:!thumbs.db:!picasa.ini:!*~"
}**PACKAGING_OPTIONS**
}**PACKAGING**
}
**IL_CPP_BUILD_SETUP**
**SOURCE_BUILD_SETUP**
+1 -1
View File
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: f233a949893a3e14d9121856c47312ff
guid: 934f8fafe9d1dd547a8dc01fe6cefd90
DefaultImporter:
externalObjects: {}
userData:
+1 -1
View File
@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: a36707b45f5ed0c4d8ba31576d0e8dd2
guid: c6b5f43004820e04f907e141ca3269d1
DefaultImporter:
externalObjects: {}
userData: