Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prebuild with Gradle in 1.2.59.0: Malformed \uxxxx encoding. #92

Closed
yuriy-universal-ivanov opened this issue Nov 27, 2017 · 1 comment
Closed

Comments

@yuriy-universal-ivanov
Copy link
Contributor

yuriy-universal-ivanov commented Nov 27, 2017

Hi,

Unity 2017.2.0f3, Windows 10.
There is an issue when turning on Prebuild with Gradle (Android):

Error somewhere in the process of creating the gradle build, executing it, and copying the outputs.
This will break dependency resolution and your build will not run.
See the output below for possible gradle build errors. The most likely cases are: an invalid bundleID (which you can correct in the Android Player Settings), or a failure to determine the Android SDK platform and build tools verison (you can verify that you have a valid android SDK path in the Unity preferences.
If you're not able to diagnose the error, please report a bug at: https://github.com/googlesamples/unity-jar-resolver/issuesA possible work-around is to turn off the "Gradle Prebuild" from the Jar Resolver Settings.

Error (-1):

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\u-n-i\Documents\projects\utnotifications\unity\Temp\GenGradle\build.gradle' line: 25

* What went wrong:
A problem occurred evaluating root project 'GenGradle'.
> Failed to apply plugin [id 'com.android.application']
   > Malformed \uxxxx encoding.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

* Get more help at https://help.gradle.org

BUILD FAILED in 1s
Traceback (most recent call last):
  File "<string>", line 475, in <module>
  File "<string>", line 468, in main
  File "<string>", line 260, in execute_gradle_build
RuntimeError: Failed running gradle build
generate_gradle_prebuild returned -1

UnityEngine.Debug:LogError(Object)
GooglePlayServices.<RunGenGradleScript>c__AnonStoreyE:<>m__11(Result)
GooglePlayServices.ProgressReporter:Update(CommandLineDialog)
GooglePlayServices.CommandLineDialog:Update()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()

Thank you in advance for any assistance,
Best regards,
Yuriy

@stewartmiles
Copy link
Contributor

We removed this experimental feature in aa1a6b8 .

@googlesamples googlesamples locked and limited conversation to collaborators Nov 2, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants