Skip to content

Build targeting Android with Unity 6.4 fails #2672

@bitsandfoxes

Description

@bitsandfoxes

Description

Gradle is not happy with the way we hooked up the symbol upload:

Note: /Users/bitfox/Workspace/sentry-unity/samples/unity-of-bugs/Library/Bee/Android/Prj/IL2CPP/Gradle/unityLibrary/src/main/java/com/unity3d/player/UnityPlayerActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/bitfox/Workspace/sentry-unity/samples/unity-of-bugs/Library/Bee/Android/Prj/IL2CPP/Gradle/launcher/build.gradle' line: 92

* What went wrong:
Execution failed for task ':launcher:sentryUploadSymbols'.
> Could not find method exec() for arguments [build_deemhg8hgwji5pmbn99aglpm$_run_closure3$_closure19$_closure20$_closure21@292fc487] on task ':launcher:sentryUploadSymbols' of type org.gradle.api.DefaultTask.

* 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 generate a Build Scan (Powered by Develocity).
> Get more help at https://help.gradle.org.

BUILD FAILED in 2m 1s

UnityEditor.EditorApplication:Internal_CallDelayFunctions () (at /Users/bokken/build/output/unity/unity/Editor/Mono/EditorApplication.cs:416)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bugsomething isn't working as it shouldUnityplatform label
    No fields configured for issues without a type.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions