Skip to content

Commit 72832fa

Browse files
authored
Merge pull request #7 from cake-lab/dev/yiqinzhao
fix: Android build error.
2 parents 4892348 + 150ca97 commit 72832fa

File tree

2 files changed

+21
-9
lines changed

2 files changed

+21
-9
lines changed

unity/ProjectSettings/EditorBuildSettings.asset

+4-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
EditorBuildSettings:
55
m_ObjectHideFlags: 0
66
serializedVersion: 2
7-
m_Scenes: []
7+
m_Scenes:
8+
- enabled: 1
9+
path: Assets/Scenes/DeviceData.unity
10+
guid: a85ce1c6384d24c2a8e016dbf92ebe5c
811
m_configObjects:
912
UnityEditor.XR.ARCore.ARCoreSettings: {fileID: 11400000, guid: f92edc93773e74a58b3bcd43fb72f7f1, type: 2}
1013
UnityEditor.XR.ARKit.ARKitSettings: {fileID: 11400000, guid: 9c322fe5ad9814bf4b13d64d2f0f2518, type: 2}

unity/ProjectSettings/ProjectSettings.asset

+17-8
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ PlayerSettings:
1313
useOnDemandResources: 0
1414
accelerometerFrequency: 60
1515
companyName: TheCakeLab
16-
productName: ARFLow
16+
productName: ARFlow
1717
defaultCursor: {fileID: 0}
1818
cursorHotspot: {x: 0, y: 0}
1919
m_SplashScreenBackgroundColor: {r: 0.13725491, g: 0.12156863, b: 0.1254902, a: 1}
@@ -76,6 +76,7 @@ PlayerSettings:
7676
androidMinimumWindowWidth: 400
7777
androidMinimumWindowHeight: 300
7878
androidFullscreenMode: 1
79+
androidAutoRotationBehavior: 1
7980
defaultIsNativeResolution: 1
8081
macRetinaSupport: 1
8182
runInBackground: 1
@@ -136,9 +137,14 @@ PlayerSettings:
136137
vulkanEnableLateAcquireNextImage: 0
137138
vulkanEnableCommandBufferRecycling: 1
138139
loadStoreDebugModeEnabled: 0
140+
visionOSBundleVersion: 1.0
141+
tvOSBundleVersion: 1.0
139142
bundleVersion: 0.1
140143
preloadedAssets:
144+
- {fileID: -4019099003003015272, guid: 20526f0dba1114536b1e928dbe0eca0a, type: 2}
141145
- {fileID: 11400000, guid: 8d33ccf7e1a574b7a8329f7d9563a589, type: 2}
146+
- {fileID: 4800000, guid: c9f956787b1d945e7b36e0516201fc76, type: 3}
147+
- {fileID: 4800000, guid: 0945859e5a1034c2cb6dce53cb4fb899, type: 3}
142148
metroInputSource: 0
143149
wsaTransparentSwapchain: 0
144150
m_HolographicPauseOnTrackingLoss: 1
@@ -159,7 +165,7 @@ PlayerSettings:
159165
androidSupportedAspectRatio: 1
160166
androidMaxAspectRatio: 2.1
161167
applicationIdentifier:
162-
Android: com.TheCakeLab.ARFLow
168+
Android: com.TheCakeLab.ARFlow
163169
iPhone: com.TheCakeLab.ARFLow
164170
buildNumber:
165171
Standalone: 0
@@ -168,7 +174,7 @@ PlayerSettings:
168174
tvOS: 0
169175
overrideDefaultApplicationIdentifier: 0
170176
AndroidBundleVersionCode: 1
171-
AndroidMinSdkVersion: 22
177+
AndroidMinSdkVersion: 24
172178
AndroidTargetSdkVersion: 0
173179
AndroidPreferredInstallLocation: 1
174180
aotOptions:
@@ -232,6 +238,7 @@ PlayerSettings:
232238
iOSMetalForceHardShadows: 0
233239
metalEditorSupport: 1
234240
metalAPIValidation: 1
241+
metalCompileShaderBinary: 0
235242
iOSRenderExtraFrameOnPause: 0
236243
iosCopyPluginsCodeInsteadOfSymlink: 0
237244
appleDeveloperTeamID: J38BSCC7LU
@@ -257,7 +264,7 @@ PlayerSettings:
257264
useCustomGradlePropertiesTemplate: 0
258265
useCustomGradleSettingsTemplate: 0
259266
useCustomProguardFile: 0
260-
AndroidTargetArchitectures: 1
267+
AndroidTargetArchitectures: 3
261268
AndroidTargetDevices: 0
262269
AndroidSplashScreenScale: 0
263270
androidSplashScreen: {fileID: 0}
@@ -523,8 +530,8 @@ PlayerSettings:
523530
m_GraphicsJobMode: 0
524531
m_BuildTargetGraphicsAPIs:
525532
- m_BuildTarget: AndroidPlayer
526-
m_APIs: 150000000b000000
527-
m_Automatic: 1
533+
m_APIs: 0b000000
534+
m_Automatic: 0
528535
- m_BuildTarget: iOSSupport
529536
m_APIs: 10000000
530537
m_Automatic: 1
@@ -837,7 +844,8 @@ PlayerSettings:
837844
iPhone: UNITY_XR_ARKIT_LOADER_ENABLED
838845
additionalCompilerArguments: {}
839846
platformArchitecture: {}
840-
scriptingBackend: {}
847+
scriptingBackend:
848+
Android: 1
841849
il2cppCompilerConfiguration: {}
842850
il2cppCodeGeneration: {}
843851
managedStrippingLevel:
@@ -887,6 +895,7 @@ PlayerSettings:
887895
metroTileBackgroundColor: {r: 0.13333334, g: 0.17254902, b: 0.21568628, a: 0}
888896
metroSplashScreenBackgroundColor: {r: 0.12941177, g: 0.17254902, b: 0.21568628, a: 1}
889897
metroSplashScreenUseBackgroundColor: 0
898+
syncCapabilities: 0
890899
platformCapabilities: {}
891900
metroTargetDeviceFamilies: {}
892901
metroFTAName:
@@ -940,7 +949,7 @@ PlayerSettings:
940949
hmiLogStartupTiming: 0
941950
hmiCpuConfiguration:
942951
apiCompatibilityLevel: 6
943-
activeInputHandler: 2
952+
activeInputHandler: 1
944953
windowsGamepadBackendHint: 0
945954
cloudProjectId:
946955
framebufferDepthMemorylessMode: 0

0 commit comments

Comments
 (0)