UnityでMeta Questビルド時にエラーが出る問題への対処法 Flying Gorilla Studio 2022年10月6日 22:35 > Configure project :launcherWARNING: The option setting 'android.enableR8=false' is deprecated.It will be removed in version 5.0 of the Android Gradle plugin.You will no longer be able to disable R8Exception while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-onlyException while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-onlyException while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-onlyException while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-onlyException while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-onlyException while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\30.0.2\package.xml. Probably the SDK is read-onlyException while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-onlyException while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-onlyException while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-30\package.xml. Probably the SDK is read-onlyException while marshalling C:\Program Files\Unity\Hub\Editor\2021.3.11f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only[Project Setting] -> [Player] -> [Publishing Settings]の "Custom Base Gradle Template" にチェックを入れる[Project] -> Assets/Plugins/Android で「baseProjectTemplate.gradle」を見つけます。変更: 「com.android.tools.build:gradle:3.6.0」を「com.android.tools.build:gradle:3.4.0」にこれでは解決しませんでしたが、別の方法で解決しました[Project Setting] -> [XR Plug-in Management] -> [OpenXR] -> [Oculus Quest Support]のチェックを外すこれでコンパイルが通り、Oculus Quest 2で動作しました。 ダウンロード copy この記事が気に入ったらサポートをしてみませんか? 記事をサポート