UnityでAndroid用のビルドをしようとしたところ今まではうまく行っていたのが通らなくなってしまいました。
自分なりに似たような事例を調べて対処しようとしたのですが、
androidSDK,パスワードを更新しても同じエラーが繰り返されてしまいます。
gradleがうまくいっていないという事でエクスポートしてAndroidStudioでビルドを試したところ、
そちらのほうではビルド出来ました。
以下がコンソールに表示されたエラーです。
Starting a Gradle Daemon, 1 incompatible and 2 stopped Daemons could not be reused, use --status for details > Configure project :launcher WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported. The current default is 'true'. Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\28.0.3\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\28.0.3\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-29\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2019.4.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only > Configure project :unityLibrary WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported. The current default is 'true'. > Configure project :unityLibrary:GoogleMobileAdsPlugin.androidlib WARNING: The option setting 'android.bundle.enableUncompressedNativeLibs=false' is experimental and unsupported. The current default is 'true'. > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preBuild UP-TO-DATE > Task :unityLibrary:preBuild UP-TO-DATE > Task :launcher:preBuild UP-TO-DATE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:preReleaseBuild UP-TO-DATE > Task :unityLibrary:preReleaseBuild UP-TO-DATE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:checkReleaseManifest > Task :launcher:prepareLintJar > Task :unityLibrary:checkReleaseManifest > Task :unityLibrary:processReleaseManifest > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseManifest > Task :unityLibrary:packageReleaseRenderscript NO-SOURCE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseRenderscript NO-SOURCE > Task :unityLibrary:generateReleaseResValues > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseRenderscript NO-SOURCE > Task :unityLibrary:compileReleaseRenderscript NO-SOURCE > Task :unityLibrary:generateReleaseResources > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResValues > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseResources > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseResources > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseShaders > Task :unityLibrary:packageReleaseResources > Task :unityLibrary:mergeReleaseShaders > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseShaders > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseAssets > Task :unityLibrary:compileReleaseShaders > Task :unityLibrary:generateReleaseAssets > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:packageReleaseAssets > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseAidl NO-SOURCE > Task :unityLibrary:packageReleaseAssets > Task :unityLibrary:compileReleaseAidl NO-SOURCE > Task :launcher:preReleaseBuild > Task :launcher:compileReleaseRenderscript NO-SOURCE > Task :unityLibrary:generateReleaseBuildConfig > Task :launcher:generateReleaseResValues > Task :launcher:generateReleaseResources > Task :unityLibrary:prepareLintJar > Task :unityLibrary:generateReleaseSources > Task :unityLibrary:processReleaseJavaRes NO-SOURCE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseRFile > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseBuildConfig > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:prepareLintJar > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:generateReleaseSources > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:javaPreCompileRelease > Task :unityLibrary:mergeReleaseJniLibFolders > Task :unityLibrary:generateReleaseRFile > Task :unityLibrary:transformNativeLibsWithMergeJniLibsForRelease > Task :unityLibrary:transformNativeLibsWithStripDebugSymbolForRelease > Task :unityLibrary:transformNativeLibsWithIntermediateJniLibsForRelease > Task :launcher:mergeReleaseResources > Task :launcher:checkReleaseManifest > Task :launcher:createReleaseCompatibleScreenManifests > Task :launcher:mainApkListPersistenceRelease > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:compileReleaseJavaWithJavac > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibCompileRelease > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibRuntimeRelease > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:processReleaseJavaRes NO-SOURCE > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:bundleLibResRelease > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:mergeReleaseJniLibFolders > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithMergeJniLibsForRelease > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithStripDebugSymbolForRelease > Task :unityLibrary:GoogleMobileAdsPlugin.androidlib:transformNativeLibsWithIntermediateJniLibsForRelease > Task :launcher:processReleaseManifest > Task :unityLibrary:javaPreCompileRelease > Task :launcher:bundleReleaseResources FAILED > Task :unityLibrary:compileReleaseJavaWithJavac Deprecated Gradle features were used in this build, making it incompatible with Gradle 6.0. Use '--warning-mode all' to show the individual deprecation warnings. See https://docs.gradle.org/5.1.1/userguide/command_line_interface.html#sec:command_line_warnings 44 actionable tasks: 44 executed UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
あなたの回答
tips
プレビュー