#Android API Level 34 - Gradle build failed

1 messages · Page 1 of 1 (latest)

jovial whale
#

Hi!
I cannot build for Android 14. If I set target api level 33, everything works. But with target api level 34 no.
Attached is the build log. Can anyone help, please?
unity 2019.4.40
essential kit 2.7.2
gradle 6.8.3

jovial whale
#

I've tried everything I read on discord for similar cases, but nothing worked. @wet tusk can you help me, pleeease? 😄

wet tusk
#
> A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
   > AAPT2 aapt2-4.0.1-6197926-windows Daemon #1: Unexpected error during link, attempting to stop daemon.
     This should not happen under normal circumstances, please file an issue if it does.

@jovial whale
The error is not specific to the plugin but gradle in general.
Can we have a remote session to look into?

torn horizon
#

@wet tusk Sorry for the interruption,
I would like to know if there is a minimum required version of Gradle for version 2.7.2?

Thank you.

jovial whale
wet tusk
jovial whale
wet tusk
#

ok. Then will finish my lunch and be back!

jovial whale
#

here i am, whenever you are ready

wet tusk
#

Yes

jovial whale
#

same link?

wet tusk
wet tusk
wet tusk
#

@jovial whale
After upgrading the plugins if you still see the issue, pls install java 11 and ping me.

#

Java 11 JDK

jovial whale
#

😦 no luck. and if i try to set java 11 in external tools, I get this error

wet tusk
#

Ok, any possiblity to send me a minimal reproducible project?

jovial whale
#

I'll see what I can do. thanks for the help so far

wet tusk
#

@jovial whale Anything you found?

jovial whale
#

not yet, still stuck. thanks for asking

wet tusk
#

Is it possible for you to upgrade to latest LTS?

#

Try in a new copy

jovial whale
#

I think it's the only thing left to do. It will take some time. I'll let you know

wet tusk
#

Ok!

wet tusk
jovial whale
#

thanks! I'll try it and report here