Answer the question
In order to leave comments, you need to log in
I created a small project on Unity but there were errors when compiling the apk file. How to correct errors?
Error 1)
Starting a Gradle Daemon, 2 incompatible Daemons could not be reused, use --status for details
> Configure project :launcher
WARNING: 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 R8
Mapping new ns schemas.android.com/repository/android/common/02 to old ns schemas.android.com/repository/android/common/01
Mapping new ns schemas.android.com/ repository/android/generic/02 to old ns schemas.android.com/repository/android/generic/01
Mapping new ns schemas.android.com/sdk/android/repo/addon2/02 to old nsschemas.android.com/sdk/android/repo/addon2/01
Mapping new ns schemas.android.com/sdk/android/repo/repository2/02 to old ns schemas.android.com/sdk/android/repo/repository2/ 01
Mapping new ns schemas.android.com/sdk/android/repo/sys-img2/02 to old ns schemas.android.com/sdk/android/repo/sys-img2/01
Mapping new ns schemas.android.com/ repository/android/common/02 to old ns schemas.android.com/repository/android/common/01
Mapping new ns schemas.android.com/repository/android/generic/02 to old ns schemas.android.com/repository/ android/generic/01
Mapping new ns schemas.android.com/sdk/android/repo/addon2/02to old ns schemas.android.com/sdk/android/repo/addon2/01
Mapping new ns schemas.android.com/sdk/android/repo/repository2/02 to old ns schemas.android.com/sdk/android/repo /repository2/01
Mapping new ns schemas.android.com/sdk/android/repo/sys-img2/02 to old ns schemas.android.com/sdk/android/repo/sys-img2/01
Mapping new ns schemas.android .com/repository/android/common/02 to old ns schemas.android.com/repository/android/common/01
Mapping new ns schemas.android.com/repository/android/generic/02 to old ns schemas.android.com /repository/android/generic/01
Mapping new nsschemas.android.com/sdk/android/repo/addon2/02 to old ns schemas.android.com/sdk/android/repo/addon2/01
Mapping new ns schemas.android.com/sdk/android/repo/repository2/ 02 to old ns schemas.android.com/sdk/android/repo/repository2/01
Mapping new ns schemas.android.com/sdk/android/repo/sys-img2/02 to old ns schemas.android.com/sdk/ android/repo/sys-img2/01
Mapping new ns schemas.android.com/repository/android/common/02 to old ns schemas.android.com/repository/android/common/01
Mapping new ns schemas.android.com/ repository/android/generic/02 to old ns schemas.android.com/repository/android/generic/01
Mapping new ns schemas.android.com/sdk/android/repo/addon2/02 to old ns schemas.android.com/sdk/android/repo/addon2/01
FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':launcher:compileReleaseJavaWithJavac'.
> Installed Build Tools revision 32.0.0 is corrupted. Remove and install again using the SDK Manager.
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
* Get more help at https://help.gradle.org
BUILD FAILED in 2m 7s
Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
]
stdout[
Starting a Gradle Daemon, 2 incompatible Daemons could not be reused, use --status for details
> Configure project :launcher
WARNING: 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 R8
Mapping new ns schemas.android.com/repository/android/common/02 to old ns schemas.android.com/repository/android/common/01
Mapping new ns schemas.android.com/ repository/android/generic/02 to old ns schemas.android.com/repository/android/generic/01
Mapping new ns schemas.android.com/sdk/android/repo/addon2/02to old ns schemas.android.com/sdk/android/repo/addon2/01
Mapping new ns schemas.android.com/sdk/android/repo/repository2/02 to old ns schemas.android.com/sdk/android/repo /repository2/01
Mapping new ns schemas.android.com/sdk/android/repo/sys-img2/02 to old ns schemas.android.com/sdk/android/repo/sys-img2/01
Mapping new ns schemas.android .com/repository/android/common/02 to old ns schemas.android.com/repository/android/common/01
Mapping new ns schemas.android.com/repository/android/generic/02 to old ns schemas.android.com /repository/android/generic/01
Mapping new nsschemas.android.com/sdk/android/repo/addon2/02 to old ns schemas.android.com/sdk/android/repo/addon2/01
Mapping new ns schemas.android.com/sdk/android/repo/repository2/ 02 to old ns schemas.android.com/sdk/android/repo/repository2/01
Mapping new ns schemas.android.com/sdk/android/repo/sys-img2/02 to old ns schemas.android.com/sdk/ android/repo/sys-img2/01
Mapping new ns schemas.android.com/repository/android/common/02 to old ns schemas.android.com/repository/android/common/01
Mapping new ns schemas.android.com/ repository/android/generic/02 to old ns schemas.android.com/repository/android/generic/01
Mapping new ns schemas.android.com/sdk/android/repo/addon2/02 to old ns schemas.android.com/sdk/android/repo/addon2/01
Mapping new ns schemas.android.com/sdk/android/repo /addon2/02 to old ns schemas.android.com/sdk/android/repo/addon2/01
Mapping new ns schemas.android.com/sdk/android/repo/repository2/02 to old ns schemas.android.com/sdk /android/repo/repository2/01
Mapping new ns schemas.android.com/sdk/android/repo/sys-img2/02 to old ns schemas.android.com/sdk/android/repo/sys-img2/01
Mapping new ns schemas.android.com/repository/android/common/02 to old nsschemas.android.com/repository/android/common/01
Mapping new ns schemas.android.com/repository/android/generic/02 to old ns schemas.android.com/repository/android/generic/01
Mapping new ns schemas. android.com/sdk/android/repo/addon2/02 to old ns schemas.android.com/sdk/android/repo/addon2/01
Mapping new ns schemas.android.com/sdk/android/repo/repository2/02 to old ns schemas.android.com/sdk/android/repo/repository2/01
Mapping new ns schemas.android.com/sdk/android/repo/sys-img2/02 to old ns schemas.android.com/sdk/android/ repo/sys-img2/01
Mapping new ns schemas.android.com/repository/android/common/02to old ns schemas.android.com/repository/android/common/01
Mapping new ns schemas.android.com/repository/android/generic/02 to old ns schemas.android.com/repository/android/generic/01
Mapping new ns schemas.android.com/sdk/android/repo/addon2/02 to old ns schemas.android.com/sdk/android/repo/addon2/01
Mapping new ns schemas.android.com/sdk/android/repo/repository2 /02 to old ns schemas.android.com/sdk/android/repo/repository2/01
Mapping new ns schemas.android.com/sdk/android/repo/sys-img2/02 to old ns schemas.android.com/sdk /android/repo/sys-img2/01
Build completed with a result of 'Failed' in 254 seconds (254425 ms)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors
at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002ca] in <7ac35247888b44f4a7e290f1f6bb33f3>:0
at UnityEditor.BuildPlayerWindow.CallBuildMethods(System.BooleanAskForLocation0,Default08 UnityEditorBuildOption0) ] in <7ac35247888b44f4a7e290f1f6bb33f3>:0
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question