Fix Unity Gradle - A Failure Occurred While Executing com.android.build.gradle.internal.tasks.Worker

Поделиться
HTML-код
  • Опубликовано: 27 ноя 2024

Комментарии • 152

  • @JoynulAbadinRasel
    @JoynulAbadinRasel  2 года назад +4

    ✅ Fix Unity 3D NDK Not Supported, Version 19.0.5232133 Solve: ruclips.net/video/qO7m1TTXhnU/видео.html

  • @dipsyteletubbie802
    @dipsyteletubbie802 Год назад +3

    Thanks a lot, have been at this error for days! The second one worked for me!

  • @mohamdel-nagar8178
    @mohamdel-nagar8178 Год назад +4

    the key store worked for me
    Thank you so very much
    I was stuck on that problems for 2 days

  • @XtraDanger
    @XtraDanger Год назад +1

    whole day on a problem.
    This dude solves it in 21 seconds!

  • @danithegirl-gw7in
    @danithegirl-gw7in 9 месяцев назад

    THIS IS THE ONLY HELP THAT EVERONE NEEDS!!!!! THANK YOU SO MUCH

  • @fiscalizacao
    @fiscalizacao Год назад

    I don't know what worked, but I did several of the methods you mentioned and they WORKED! Thank you my friend!! ✌

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  Год назад +1

      Please share and support, also check this channel for various types of videos!

  • @abubakrjajja
    @abubakrjajja Год назад

    Whole night on a problem and this guy fixed in few seconds. :)

  • @princekOnYt
    @princekOnYt Год назад +1

    Finally, it works thanks broooo! Happiest man alive nau.

  • @Dart_Board
    @Dart_Board Год назад +2

    Thanks bro The second one was my problem
    I created a new keystore it worked like magic🥰🥰

    • @AlejandroGM96
      @AlejandroGM96 6 месяцев назад

      thanks I created a new keystore

  • @aadiegoaa96
    @aadiegoaa96 Год назад

    The method 7 works for me, thanks a lot!

  • @Eth_Da_Gorilla
    @Eth_Da_Gorilla Год назад +1

    OMG U SAVED MY LIFE TYSMMMMM YOU WALKING W

  • @adityaderahman1639
    @adityaderahman1639 8 месяцев назад +1

    THANKS A LOTS
    Method 2 is WORKING FOR ME !!!!!!!
    Cause I put the Wrong Project Key !!!!
    THANKS A LOT YOU SAVE MY ACCOUNT DEVELOPER

  • @agentx5453
    @agentx5453 Год назад

    Bro this legit works. Let me tell u guys in brief. I tried all method except method no.2 and tgey didn't work but then i came back to method no.2 key store and it worked so i recommend to go for method no.2 first

  • @killuastark1414
    @killuastark1414 2 года назад +1

    It worked! Thx sooo much :))

  • @adminspensamal
    @adminspensamal 6 месяцев назад

    thank you very much, this is very helpful

  • @ulisessanchez3051
    @ulisessanchez3051 Месяц назад

    No, no, tremendous crack. Thank you so much, you really helped me with this error of days 😢❤

  • @ninongthanofficial
    @ninongthanofficial Год назад

    thanks for the video bro, it solved my problem.

  • @sitifatimatulazizah6954
    @sitifatimatulazizah6954 Год назад

    THANK YOU SO MUCH...
    You save my life sir

  • @Gaming-Emperors
    @Gaming-Emperors Год назад

    thank you so much problem solved by making new key🎉

  • @daniyal4389
    @daniyal4389 2 года назад +6

    there's no external dependancy in my asset section

    • @YajatKaul
      @YajatKaul Год назад +1

      If it's not there then just skip it cuz if it's not it's fine

  • @thesusnoob
    @thesusnoob Год назад +1

    thanks bro all i needed was to restart my pc

  • @m.kokteyl3593
    @m.kokteyl3593 Год назад

    method 2 has fixed my problem thx

  • @RakeshBhardwaj
    @RakeshBhardwaj Год назад

    It's worked, Thanks man!!!

    • @muneebhero1159
      @muneebhero1159 3 месяца назад

      Which method please 🥺?

    • @RakeshBhardwaj
      @RakeshBhardwaj 3 месяца назад

      @@muneebhero1159 try all the methods it will work. in my scenario I need to setup player setting in
      Project setting>> Player :
      Android >>
      Other settings :
      version .1
      build version 1
      min API : Android 7
      target API : API 34 (if you have downloaded)
      Scripting >> IL2CPP
      ARMv7 checked
      ARMv64 Checked
      Publishing setting
      set up Keystore manager
      Keystore password and alias password

    • @muneebhero1159
      @muneebhero1159 3 месяца назад

      @@RakeshBhardwaj yeah it works, may god bless you ❤️

  • @mihaithemystic2890
    @mihaithemystic2890 Год назад +1

    Which is the last unity version that had internal android build system>

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  Год назад +1

      The internal build system has been removed since 2019.1.0b1.

    • @mihaithemystic2890
      @mihaithemystic2890 Год назад +1

      @@JoynulAbadinRasel Ok, and what were the versions that had Internal Android Build System? I have this version here, v4.5.4f1 and the Internal Android Build System doesn't exist. I need to know this cause Unity removed everything from the net related to old releases, so nowhere to find even info.

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  Год назад

      @@mihaithemystic2890 please try to upgrade your engine, to avoid SDK, and other play Console errors...

    • @mihaithemystic2890
      @mihaithemystic2890 Год назад

      @@JoynulAbadinRasel it's not about updating, it's about me not being able to access internet while unity compiles for android. this is why i need the version that works offline while compiling for android, pc compiles just fine but android external compiles gives error not being able to download something. do you understand?

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  Год назад

      @@mihaithemystic2890 yea

  • @RERNIK_SPORT
    @RERNIK_SPORT 2 месяца назад

    Hallo, help pls!! I have this : A failure occurred while executing
    com.android.build.gradle.internal.res.Aapt2ProcessResourcesRunnable
    See the Console for detail

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  2 месяца назад

      Add Gradle and unity in your antivirus program (do not disturb mode/skip from blocking any gradle process) or send me the error logs from console...

  • @ida3tktv773
    @ida3tktv773 2 года назад +1

    thank you so much brother ❤❤❤❤❤❤❤❤❤❤

  • @nmbileg
    @nmbileg Год назад +1

    Hello ! Thanks for this man, for me it works when I reboot my whole computer but doesn't work when restarts the unity, I think its annoying to have to reboot your computer everytime when you have to build. Any idea what could happening there ? )

  • @thepresidentgaming404
    @thepresidentgaming404 Год назад

    Thanks a lot man .

  • @0xDale
    @0xDale 2 года назад +1

    Thank you bro!!!

  • @GCI--1234
    @GCI--1234 Год назад

    thanks it helped.

  • @Tryftz
    @Tryftz 2 года назад

    thanks for the help

  • @princethomas7486
    @princethomas7486 2 года назад +1

    God will bless you brother!

  • @amitshrestha6833
    @amitshrestha6833 Год назад

    Thankyou for your help bro

  • @GorillaTagCopyHelp1
    @GorillaTagCopyHelp1 3 месяца назад

    I've had this error for about 3 months, but I think the error is a little different for 3d one, can you do one for a 3d game? Or if this one was 3d, then just a more recent version? If you can't, I completely understand.

  • @AxoAnimates
    @AxoAnimates Год назад

    OMG THANK YOU SO MUCH

  • @bioartonline2862
    @bioartonline2862 2 года назад

    Thank You Brother

  • @yadsee4884
    @yadsee4884 2 года назад

    The keystore fixed mine!

  • @DilpreetSingh-dj5cg
    @DilpreetSingh-dj5cg Год назад

    thanks a lot man

  • @edoididjbxbxdjdjd2882
    @edoididjbxbxdjdjd2882 2 года назад

    THAAANKS YOU SUPER MEGA PRO LIKE YOU

  • @Humorkucor
    @Humorkucor 5 месяцев назад

    A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction See the Console for details. .. helpme

    • @Humorkucor
      @Humorkucor 5 месяцев назад

      C:\Program Files\Unity\Hub\Editor\2022.3.27f1\Editor\Data\PlaybackEngines\AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2022.3.27f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-7.2.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  5 месяцев назад

      Please check your antivirus program, maybe it blocking gradle service!

    • @Humorkucor
      @Humorkucor 5 месяцев назад

      @@JoynulAbadinRasel thanks

  • @snipez98
    @snipez98 Год назад

    Thanks!!!!

  • @MattCM89
    @MattCM89 10 месяцев назад

    Its kind of crazy you have all the steps but don't show the fact you shoud look at the logs for a more speciffic error..... I tried all of this and nothing worked. I checked the logs and it said the signing certificate was invalid. I deleted it (after making a backup) and it fixed it right away.

  • @MrCatAndDog_og
    @MrCatAndDog_og Год назад

    Thank you I thought I just lost me game😢😢😢😢😅😅😅😅thanks

  • @alanm8264
    @alanm8264 Год назад

    TY mate

  • @vxtymofii1124
    @vxtymofii1124 2 года назад +1

    Dont work😔

  • @flamingofanaccount
    @flamingofanaccount 7 месяцев назад

    lint insfrastructure error. See console for details

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  7 месяцев назад

      Look for the exact error in Console, like gradle error

  • @childishparticle7395
    @childishparticle7395 2 года назад

    big like thanks

  • @abdurrehman_63
    @abdurrehman_63 2 года назад

    thanks

  • @ayoubazul
    @ayoubazul Год назад

    Thanks

  • @чеснохз
    @чеснохз 2 года назад +1

    didn`t worked all methods, antivirus was not active

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  2 года назад

      Try to restart your pc and retry build...make sure you have android sdk installed!

  • @Romas34
    @Romas34 2 года назад

    So, what is the error in the Unity console? I get the same message dialog Box, but in Unity console I have an actual error:
    Execution failed for task ':launcher:mergeReleaseJavaResource'.
    > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    > More than one file was found with OS independent path 'META-INF/core-utils_release.kotlin_module'.
    and i can't fix it... :(
    Exclude added to mainTemplate.gradle file!
    packagingOptions {
    exclude 'META-INF/DEPENDENCIES'
    exclude 'META-INF/LICENSE'
    exclude 'META-INF/LICENSE.txt'
    exclude 'META-INF/license.txt'
    exclude 'META-INF/NOTICE'
    exclude 'META-INF/NOTICE.txt'
    exclude 'META-INF/notice.txt'
    exclude 'META-INF/ASL2.0'
    exclude 'META-INF/main.kotlin_module'
    exclude 'META-INF/*.kotlin_module'
    }

  • @paininkabir4760
    @paininkabir4760 6 месяцев назад

    1:07 Which password are you typing here? I don't know what is keystore and what is my password.

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  6 месяцев назад

      I type my password, you need the keystore to build, it's kind of an encryption security!

  • @asli9152
    @asli9152 9 месяцев назад

    how to fix UP-TO-DATE more files like:
    > Task :launcher:preBuild UP-TO-DATE
    > Task :launcher:preDebugBuild UP-TO-DATE
    > Task :unityLibrary:preBuild UP-TO-DATE
    > Task :unityLibrary:preDebugBuild UP-TO-DATE
    > Task :unityLibrary:packageDebugRenderscript NO-SOURCE
    > Task :launcher:generateDebugBuildConfig UP-TO-DATE
    etc
    28 actionable tasks: 6 executed, 22 up-to-date
    UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
    next error:
    FAILURE: Build failed with an exception.
    * What went wrong:
    Execution failed for task ':launcher:processDebugResources'.
    > A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade
    > AAPT2 aapt2-4.0.1-6197926-windows Daemon #0: Unexpected error during link, attempting to stop daemon.
    This should not happen under normal circumstances, please file an issue if it does.
    * 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 help.gradle.org
    BUILD FAILED in 15s
    Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8
    UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

  • @random_gt-vr
    @random_gt-vr 2 месяца назад

    OMG I LOVE U

  • @kahlilkahlil7426
    @kahlilkahlil7426 9 месяцев назад

    lost KeyStore 😭😭😭

  • @ganesankarthikeyan5666
    @ganesankarthikeyan5666 2 года назад

    I have tried all the solutions from the video yet dint resolve is there any other way to solve I have the same problem shown in video gradle problem

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  2 года назад

      Try this: ruclips.net/video/qO7m1TTXhnU/видео.html
      Note: Please Sure That your Antivirus not block any of Gradle process!

    • @ganesankarthikeyan5666
      @ganesankarthikeyan5666 2 года назад

      @@JoynulAbadinRasel thanks for the response will check that

    • @Searchin4keys
      @Searchin4keys 2 года назад

      @@ganesankarthikeyan5666 update??

  • @ktosnapewno485
    @ktosnapewno485 10 месяцев назад

    how do i get the keystore

  • @mihaithemystic2890
    @mihaithemystic2890 Год назад

    Hello, i play with Unity sometimes in spare time, making little builds for PC, but now i tried for the first time building my project for Android, and i get some error with Gradle not being able to download some file, i use unity offline only, i don't have means of going online now with my PC, so where should i download this file, and how can i make unity search for it locally instead of online?

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  Год назад

      install Android SDK, or studio hope this can solve your problem.

    • @mihaithemystic2890
      @mihaithemystic2890 Год назад +1

      @@JoynulAbadinRasel Without Android SDK, i wouldn't even be able to get to the point where i get the Gradle error, i have installed OpenJDK, SDK & NDK, everything pointed out ok in Preferences, even Gradle, but when i compile the project unity tries to download something, unfortunately i am offline permanently on my old PC, so that's that.

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  Год назад

      @@mihaithemystic2890 can you please share the screenshot?

    • @mihaithemystic2890
      @mihaithemystic2890 Год назад +1

      @@JoynulAbadinRasel Screenshot to what, did you mean that i need to download android sdk to compile the project in android sdk alone? I don't know a thing in android studio.
      To be honest, you didn't understand my question, i get the Gradle error when compiling for android using unity on an old pc without internet.
      If i look in the console, it says clear, unity is trying to connect to some internet address but can't, cause i am offline.
      This is why i asked, if is there any way to download those files with the phone, and then copy to the pc so unity can get what it needs from there.
      It was nice how it was back in the days when unity had it's own android compiler, now we need to deal with a thousand shit things that never work like intended without constant internet bullshit.

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  Год назад

      @@mihaithemystic2890 I understand your comments, read this topic: stackoverflow.com/questions/45007518/gradle-error-in-unity-exported-android-project
      If not solved, use USB tethering to connect to the internet using your android device!

  • @RobyGt467
    @RobyGt467 10 месяцев назад +1

    thank you so much DOES NOT WORK :((

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  10 месяцев назад

      Turn off antivirus, some cases antivirus block gradle!

  • @C4ndyVR
    @C4ndyVR Год назад

    none of them worked.

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  Год назад

      Check antivirus that not blocked gradle...

    • @C4ndyVR
      @C4ndyVR Год назад

      @@JoynulAbadinRasel I don’t know what you mean

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  Год назад

      @@C4ndyVR sometimes antivirus block gradle executive, in that case non of this work...check your antivirus Program block list, or firewall list

    • @C4ndyVR
      @C4ndyVR Год назад

      @@JoynulAbadinRasel ok

  • @lemmon770
    @lemmon770 2 года назад

    This error can also occur on out of storage

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  2 года назад

      Thanks for your valuable comment...

    • @lemmon770
      @lemmon770 2 года назад

      @@JoynulAbadinRasel I can’t tell if this is sarcasm or just actually you thanking me

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  2 года назад

      @@lemmon770 Bro, Every comment is important to me...Its true that, Its impossible to gather all knowledge by me...So, Please don't think that...

    • @lemmon770
      @lemmon770 2 года назад

      @@JoynulAbadinRasel ok I’m sorry never new it would offend you I’m really sorry 👍

  • @karersio7062
    @karersio7062 2 года назад

    THX SO MUCH I CAN MAKE MY VR GAME NAMED: Daba Monkey

  • @grey7879
    @grey7879 2 года назад

    Brooo i lov u

  • @saywhatsoina156
    @saywhatsoina156 Год назад

    none of them worked nooo

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  Год назад

      Please check your antivirus that not block any gradle executive..

  • @themurder7414
    @themurder7414 Год назад

    none of them worked for me WTF!!!!

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  Год назад

      Check your antivirus that blocked gradle executive!

    • @DenizIlgn
      @DenizIlgn 11 месяцев назад

      did u solve :( I didn't

  • @vistaero
    @vistaero 10 месяцев назад +2

    Android is literally the worst environment for developers ever created. You never have this kind of issues with any other OS.

  • @kels7980
    @kels7980 Год назад

    el password lo creamos nosotros?

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  Год назад

      ¡Cuando publicas tus juegos o aplicaciones necesitas la contraseña única!

  • @RaunakGameDeveloper
    @RaunakGameDeveloper Год назад

    Love you chumma chati

  • @CRIMELAB357
    @CRIMELAB357 2 года назад

    Unity hav me so irritated rite now

  • @itsawesomeshorts7696
    @itsawesomeshorts7696 Год назад

    Есть русские?

  • @shreyasghatole2863
    @shreyasghatole2863 6 месяцев назад

    I'm still unable to fix it 🥲🥲

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  6 месяцев назад +1

      Please check your antivirus programe, make sure it won't block any gradle process!

    • @shreyasghatole2863
      @shreyasghatole2863 6 месяцев назад

      @@JoynulAbadinRasel um.. how do I do that 😅

    • @JoynulAbadinRasel
      @JoynulAbadinRasel  6 месяцев назад +1

      @@shreyasghatole2863 just check the Quentine or firewall

  • @Ivan34399
    @Ivan34399 2 месяца назад

    OMG THANK YOU SO MUCH

  • @mFrank547
    @mFrank547 Год назад

    thanks for the help