Gradle build failed. See the Console for details, Unity Build System, Unity Execute Error solved

Поделиться
HTML-код
  • Опубликовано: 21 сен 2024
  • Gradle build failed. See the Console for details, Unity Build System, Unity Execute Error solved
    Check Out New Assets Store ➡ www.downloadhe...

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

  • @AlejandroMedina-ki2lg
    @AlejandroMedina-ki2lg 3 года назад +15

    Dude, I spent 5 hours with this. Thank you

  • @alexandershuaibu
    @alexandershuaibu 4 года назад +6

    With the amount of errors in the console, I had no idea this would work. Thanks so much for this

    • @p4programmer.
      @p4programmer.  4 года назад +1

      Always welcome

    • @GameDevAraz
      @GameDevAraz 4 года назад +1

      xD Ocean Of Red

    • @GameDevAraz
      @GameDevAraz 4 года назад +1

      I Had To Go From Gradle 6.0 To Gradle 3.3, Its Seems Promising, Lets See If This Works, It Worked Before, Must Test And See, Maybe The ndk, sdk, And jdk Will Hold It Back Since Their Newer Also, Idk, Much Testing

    • @GameDevAraz
      @GameDevAraz 4 года назад +1

      Didn't Work, Resetting To Gradle 6, :P

    • @GameDevAraz
      @GameDevAraz 4 года назад +1

      Turns Out Its Some Plugin, Probably The iAP Google Play Selected At Top Menus, Gotta Search Through And Disable, Because The Thing Works But Just Not In Specific Project, Cool

  • @helenawilsena5821
    @helenawilsena5821 4 года назад +10

    Really Appreciate to you. You just save my game dev life. I was having this issue almost with 14 days. Hopefully now it will solve.

    • @p4programmer.
      @p4programmer.  4 года назад +1

      If have any concern plz let me know and don't forget to sub my channel

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

      @@p4programmer. its not working. Its given me same problem. Gradle build failed. See console for details. I'm doing all of the steps but its not works. I'm using unity 2019.3.7f1 latest

    • @p4programmer.
      @p4programmer.  4 года назад +1

      @@helenawilsena5821 did you tried building on bundle, it have to work. Im also using the latest unity

    • @helenawilsena5821
      @helenawilsena5821 4 года назад +1

      @@p4programmer. yes dear i'm trying multiple time to build bundle. But there also same problem. I'm following your video step by step. But not working with me.

    • @p4programmer.
      @p4programmer.  4 года назад

      @@helenawilsena5821 did you give NDK and SDK recommended path with unity

  • @reymartjoseang1875
    @reymartjoseang1875 2 года назад +2

    This channel deserved a more subs! You save my whole time thinking, Thank you!

  • @alright4422
    @alright4422 2 года назад +2

    Thank you so much, it worked. I am so glad it worked! I tried for a whole day with no result. This is the first and only video I found to be useful with that error

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

    Bro! 2 days more than 20 hours!! I was about to trash my 2 years game, just on releasing time. Thank you very much!

    • @p4programmer.
      @p4programmer.  Год назад

      I'm so happy to hear that. Thank you mate

  • @jacobjohansen9709
    @jacobjohansen9709 3 года назад +5

    hi can you help me i still have the issue i have checket my sdk and ndk and they got installed with unity i am using 2020.1.11f1

    • @p4programmer.
      @p4programmer.  3 года назад +1

      Did you install Android ndk module from unity hub, that's all you have to do.

    • @jacobjohansen9709
      @jacobjohansen9709 3 года назад

      @@p4programmer. yes i have also tried everything from the video and other forums

    • @jacobjohansen9709
      @jacobjohansen9709 3 года назад +2

      I disabled the firewall and now its working it had blocked the jdk

    • @p4programmer.
      @p4programmer.  3 года назад

      Cheers mate

  • @brunomoreira5883
    @brunomoreira5883 4 года назад +4

    the problem can also be caused because you are creating the final project in the project's own folder, create a separate folder and place the build there.

    • @p4programmer.
      @p4programmer.  4 года назад +1

      I totally agree, thank you for sharing that.

    • @SilvestersAlone
      @SilvestersAlone 4 года назад

      o thaks man you saved my life , i was wondering About that shit for AGGGGEEESSSS

  • @SoloGameDev
    @SoloGameDev 3 года назад +3

    Just change your build folder. For example old one C:\Desktop new one C:\Documents

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

      Bro can you explain clearly pls

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

      It's not working!
      Or at least for me, but worth a try i guess!

  • @tenancingogarcia
    @tenancingogarcia 3 года назад +2

    Just go to windows user and delete the Gradle folder
    Restore pc
    Connect to internet and build again the project

  • @ericcastro007
    @ericcastro007 3 года назад +1

    You didn't fix Gradle error.

  • @m4doom
    @m4doom 3 года назад +2

    minify and release didn't apear in unity 2020 )::::: || What is your ver?

    • @p4programmer.
      @p4programmer.  3 года назад +1

      I was using 2019.15 I guess. I will double-check and tell you

  • @a1m_baum615
    @a1m_baum615 4 года назад +4

    i have installed the NDK from Unity Hub, but it says i didnt. Could someone help me pls?

    • @p4programmer.
      @p4programmer.  4 года назад

      Which version of unity you are using

    • @a1m_baum615
      @a1m_baum615 4 года назад +1

      @@p4programmer. im using 2020.1.7f1, but im getting another error now: Build completed with a result of "failed".
      do you know what it means?

    • @p4programmer.
      @p4programmer.  4 года назад

      @@a1m_baum615 this may be a semantic error, have you set your scene from the player settings

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

    still not working for me in unity 2019.3.9 and unity 2019.3.5

    • @p4programmer.
      @p4programmer.  4 года назад

      Helllo, how do u want to build apk or bundle. Beside that most priority one is your NDK and SDK check that it is installed on the right path.

    • @AsasinoManik
      @AsasinoManik 4 года назад

      @@p4programmer. bro that is installed with unity hub and I also tried externally

    • @p4programmer.
      @p4programmer.  4 года назад

      @@AsasinoManikbro if you are using the older version : ruclips.net/video/Jdc4UVgJfcI/видео.html

    • @p4programmer.
      @p4programmer.  4 года назад

      And double check your NDK, if you dont have the preffered path this is the main reson for the gradle error

    • @AsasinoManik
      @AsasinoManik 4 года назад

      @@p4programmer. yeah but I checked it a lot of times

  • @Ege740
    @Ege740 3 года назад +2

    3:30
    There is no option like none in my minify, just an empty box and we can tick and remove it. How can we add an option like none and gradle to Minify? I will be glad if you leave a comment

    • @p4programmer.
      @p4programmer.  3 года назад

      What is the unity version you are using, the Gradle script failure was only with the older version (was a built failure)

    • @BurnTilDeath
      @BurnTilDeath 3 года назад +3

      @@p4programmer. I'm using 2020.3.15f2, and it doesn't have the Minify options either. What should you do instead? Following the other steps didn't solve the problem.

    • @hasan-bx2vv
      @hasan-bx2vv 3 года назад +1

      @@BurnTilDeath try creating another key store it worked for me and leave the minify settings

    • @BurnTilDeath
      @BurnTilDeath 3 года назад

      @@hasan-bx2vv Well, it turned out that to get the build to work, I needed to downgrade the JDK and SDK I'd been using.

    • @hasan-bx2vv
      @hasan-bx2vv 3 года назад

      @@BurnTilDeath how do you do that? Cuz the error still occurs for me

  • @AbhishekSingh-ml9ww
    @AbhishekSingh-ml9ww 3 года назад +3

    Thanks for Saving my PC, I just gonna Destroy it by seeing those errors again and again

  • @ujjawaltyagi9481
    @ujjawaltyagi9481 4 года назад +1

    Same error, but I am able to build successfully in unity 2019.3 and not 2020.1. the problem is with my ndk maybe. Because unity 2020.1 requires ndk r19 which is not available on internet. I can't download it from hub because I downloaded unity for the classic way. Any help?

    • @p4programmer.
      @p4programmer.  4 года назад

      Hello, actually you don't need to add Aditional NDK kit it is already available on the Unity Hub, make sure you downloaded the Android mobile build module from the HUB ( ruclips.net/video/g9iMeR8VeA0/видео.html ). Then double-check the path by going to the preference > External tool. Please let me know if you have any troubles.

  • @phakenblog
    @phakenblog 4 года назад +3

    WOW! you are hero in my life! thanks bro!

  • @sankethodage783
    @sankethodage783 4 года назад +4

    Mine does not work
    Even though I have just downloaded latest unity version.

    • @p4programmer.
      @p4programmer.  4 года назад

      Hii have you installed Android sdk and ndk module from the unity hub

    • @sankethodage783
      @sankethodage783 4 года назад +1

      @@p4programmer. yes I did

    • @sankethodage783
      @sankethodage783 4 года назад +1

      @@p4programmer. It builds Windows Games but when it comes to Android app it says Ghadle build error check console for error

    • @p4programmer.
      @p4programmer.  4 года назад +1

      @@sankethodage783 mostly if you have the ndk and sdk installed and set put on the right path then you can execute both apk and abb android format. You can check the module by going to unity hub > install > android mobile> check both android SDK and ndk and install, then you can execute your project in Android format.

    • @sankethodage783
      @sankethodage783 4 года назад +1

      @@p4programmer. ok thank you very much

  • @LoOnarForge
    @LoOnarForge 3 года назад +2

    Thanks, your video led to my problem, when I build Google Bundle I select both architectures in the Configuration section, ARMv7 and ARM64, when you switch back to normal build (not Google Bundle) make sure you got only one type of architecture selected. Cheers again.

  • @UsmanAli-bb2oq
    @UsmanAli-bb2oq 4 года назад +2

    Can any one help me to solve this error .
    Library\PackageCache\com.unity.ads@3.4.5\Runtime\Monetization\MonetizationPlatform.cs(113,13): error CS0433: The type 'Advertisement' exists in both 'UnityEngine.Advertisements.Editor, Version=2.1.6443.25318, Culture=neutral, PublicKeyToken=null' and 'UnityEngine.Advertisements, Version=3.4.2.0, Culture=neutral, PublicKeyToken=null'

    • @p4programmer.
      @p4programmer.  4 года назад +1

      Hi, have you attached the unity ad package from the assets store to your project? If you did that you have to link the package to the script. Will upload that solution. This error probably comes when there is a crash in the script.

    • @UsmanAli-bb2oq
      @UsmanAli-bb2oq 4 года назад +2

      @@p4programmer. Thank I have got the solution because I need the following steps ..
      Here's what I did:
      1) Removed the Unity Ads package (Window > Package Manager > Advertisement). Mine was 2.0.8
      2) From the Project Window: Assets > delete the UnityAds folder
      3) Also delete Assets > Plugins > iOS > delete UnityAds.framework
      4) Reinstall Unity Advertisement 3.4.5

    • @p4programmer.
      @p4programmer.  4 года назад +1

      Cool mate, thank you for sharing

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

    Hey I am trying to build a game for Android but after I press build, everything goes fine till I reach the step of gradle build and the gradle build never completes even after waiting for 10-15 mins, everything just freezes in unity and after that the only option left with me is to restart unity. So can you please help me with this problem?

    • @p4programmer.
      @p4programmer.  4 года назад +1

      My main recommendation is use the upadated unity with sdk and ndk installed, the main reason for this is the NDK it may not have the proper path to compile

    • @parthudawant7015
      @parthudawant7015 4 года назад +1

      @@p4programmer. Thank you mate, so shall I click on browse in the NDK section as doing that made unity to auto detect the path for SDK and JDK, which I did in the external tools tab in the preference tab. Thank you for replying. ☺️

    • @p4programmer.
      @p4programmer.  4 года назад +2

      @@parthudawant7015 easy way is go to unity hub > install >check the NDK and SDK bundle after install go to preference and make sure the development kits are on the reccomended path, not a big deal broh. Cheers! Let me know we you get any troubles... see ya

    • @parthudawant7015
      @parthudawant7015 4 года назад

      @@p4programmer. I am really glad to see your interest for helping me out☺️. Well I checked the the android build support under platform in add module section from the install tab in android section, it shows SDK & NDK TOOLS INSTALLED OF NEARLY 2.8 Gb and also open JDK installed of 70.5 Mb with their check box checked. So what shall I do next. I am using unity version 2019.2.17f1.

    • @p4programmer.
      @p4programmer.  4 года назад +1

      @@parthudawant7015 well, I'm using unity 2019.3.14f Student edition, it have limited assets to the premium ones. When I face the gradle script problem i moved out to the updated version, If your not using the student edition really recommend to use that one, hopefully we can make it broh. And please share your comments by that way we all can learn, cheers

  • @Dxstin
    @Dxstin 4 года назад +3

    Didn't worked :(

    • @p4programmer.
      @p4programmer.  4 года назад

      What is the error message

    • @Dxstin
      @Dxstin 4 года назад +1

      @@p4programmer.
      Here are my errors:
      Build file '... \Temp\gradleOut\launcher\build.gradle' line: 3
      What went wrong:
      A problem occurred evaluating project ':launcher'.
      Failed to apply plugin [id'com.android.application']
      > Your project path contains non-ASCII characters. This will most likely cause the build to fail on Windows. Please move your project to a different directory.
      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.
      UnityEditor.BuildPlayerWindow+BuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options)

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

    Hello I tried to build the game but I have some errors and some question I downloaded latest versions of unity hub and unity with sdk/ndk and jdk, do I need to download sdk jdk ndk or gradle from the internet or I can build my project without downloading them? because I downloaded sdk jdk ndk and gradle again from internet

    • @p4programmer.
      @p4programmer.  4 года назад +1

      You don't need any additional file if you already downloaded the android modules from unity hub

    • @sallagitsin4970
      @sallagitsin4970 4 года назад

      @@p4programmer. so I need to delete the downloaded sdk and others from the internet right?

    • @sallagitsin4970
      @sallagitsin4970 4 года назад

      @@p4programmer. and if I delete, how can I remove them from the preferences? Cuz I am getting an error

    • @p4programmer.
      @p4programmer.  4 года назад

      Go to preference > external tool check were the SDK and NDK installed in the recommended path, if it is checked then you are ready to develop

  • @helenawilsena5821
    @helenawilsena5821 4 года назад +1

    One Question i have. Why we generate aad files? Which one we have to upload in Play Store?

    • @p4programmer.
      @p4programmer.  4 года назад +1

      App Bundles are a publishing format, whereas APK (Android application PacKage) is the packaging format which eventually will be installed on device. ... apks) This can be extracted and the base and configuration splits as well as potential dynamic feature modules can be deployed to a device
      Reference: developer.android.com/guide/app-bundle

  • @hugh._
    @hugh._ 4 года назад +4

    I LOVE YOU MAN, I NEED IT!!!!!!!!!

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

    Hi... I would have a question. Does the build for Android work at urp? I did try it and It didn't work there (it was a new empty project) but yeah........ If you would know please tell..................
    And also I did make a full game at urp so yeah, if it won't work... 😭

    • @p4programmer.
      @p4programmer.  2 года назад

      There are cases we will use URP if you are not able to build it means it needs some optimization.

  • @lolkillerbajanqles484
    @lolkillerbajanqles484 4 года назад +1

    Bro, Gradle build failure screen appears whatever i did. How to fix that problem

    • @p4programmer.
      @p4programmer.  4 года назад +1

      Hello, first thing first did you check the ndk and SDK already installed in your unity path, you can check it by going to the preference

    • @lolkillerbajanqles484
      @lolkillerbajanqles484 4 года назад +1

      firstly thanks for your answer bro, I tried to use unity's own NDK and JDK path. I downloaded android studio from its website and i installed SDK platform and some sdk tools and i added the sdk path into unity preference's part . But i have the same problem. If you want i can send you a photo about my problem.

    • @p4programmer.
      @p4programmer.  4 года назад +2

      @@lolkillerbajanqles484 Actually you don't need Android studio for that cuz I was using studio at earlier, but the new version you don't need it, I really recommend you to install new unity from unity Hub and start over a new project.

    • @lolkillerbajanqles484
      @lolkillerbajanqles484 4 года назад +1

      @@p4programmer. Bro thanks for your advice . But
      I'm about to finish my game project in "Unity 2018". Can I continue this project in the latest version of "Unity"?

    • @p4programmer.
      @p4programmer.  4 года назад +1

      Yes you can, but there are some limitations, the compiler may show an error. But if you don't have a complicated project unity will convert it by itself and you even run smoothly, not a big deal bro. And always have a backup while you are upgrading. Good luck and let me know what happens. Cheers bro

  • @baranbasaran8278
    @baranbasaran8278 4 года назад +1

    Hello programmer ı tried your sollutions but ı didn t work, ı tried every solutions in the google. I am gonna crazy please help me. Error is gradle build failed. See the console for the details please man help me

    • @p4programmer.
      @p4programmer.  4 года назад +1

      Hi can you tell which version of unity you are using

    • @baranbasaran8278
      @baranbasaran8278 4 года назад +1

      @@p4programmer. ı was using 2019. 3.15f1
      I updated 2019.4. 1f1 now

    • @baranbasaran8278
      @baranbasaran8278 4 года назад +1

      @@p4programmer. can you help me bro

    • @p4programmer.
      @p4programmer.  4 года назад

      Did you check your ndk and sdk path as the unity recommended

    • @p4programmer.
      @p4programmer.  4 года назад

      You can check that by going to preference

  • @mahmoudelsantir3093
    @mahmoudelsantir3093 4 года назад +3

    Thank you, it worked!.

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

    It just turned out for me, that I wasn't connected to the internet while building lmao. It now works with a Internet connection

  • @0gg166
    @0gg166 4 года назад +1

    Hello, I'm having same issue, i also tried using newest version of unity 2020 beta something and it doesnt work. Im trying a lot of things but it always show other issue can you help? and what can cause problem.

    • @p4programmer.
      @p4programmer.  4 года назад

      Hello, first thing first did you check the ndk and SDK installed in your unity path, you can it by going to the preference

    • @0gg166
      @0gg166 4 года назад +1

      @@p4programmer. yes i did i tried using other sdk's and ndk's but it doesnt work i tried new project but it also not works. Only on android expkrt i d i try export my game on like windows version it works. But when i switch to android in is not working. Alweys same

    • @p4programmer.
      @p4programmer.  4 года назад

      @@0gg166 What are the bugs showing up

    • @0gg166
      @0gg166 4 года назад

      @@p4programmer. red errors in consol when it says build grandld dailded see console

    • @p4programmer.
      @p4programmer.  4 года назад

      @@0gg166 if you already checked your preference > SDK and NDK path and still pops up the same error. I really recommend you to install the new version of unity with "SDK and NDK bundle" installed inorder to develop android mobile games

  • @p.j.joseph1085
    @p.j.joseph1085 4 года назад +5

    Looking for this one, works for me

  • @fundubmedia7026
    @fundubmedia7026 4 года назад +1

    My Grade Error Is fixed but another error now pops up.
    It says.
    UnityEditor.BuildPlayerWindow+BuildMethodException : 3 errors.
    If you can help me please do..
    I am trying this for months now. I cant get a sol

    • @p4programmer.
      @p4programmer.  4 года назад

      Hello can you please tell me your unity version, i really recommend to use the latest version like 2019.3.10f1

    • @fundubmedia7026
      @fundubmedia7026 4 года назад +1

      Okay I will Upgrade And try. Can u give me ur contact details. So that I can get to you.

    • @p4programmer.
      @p4programmer.  4 года назад

      Sure, mysplendidview@gmail.com
      And instagram.com/p/CAMKdDonaiS/?igshid=54cxfkemkjlu this is my insta

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

    work in unity 2018.4.16f?

  • @bensonmiakoun7674
    @bensonmiakoun7674 4 года назад +1

    Hi I did all the steps but failed. Any help is appreciated, stuck here for many days. I downloaded the builder-3.4.0.jar manually but don't know where to put it.
    CommandInvokationFailure: Gradle build failed.
    C:/Users/Admin/Documents/unity/backup/OpenJDK\bin\java.exe -classpath "C:\Users\Admin\Documents\unity\backup\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "bundleRelease"
    stderr[
    FAILURE: Build failed with an exception.
    * What went wrong:
    A problem occurred configuring project ':launcher'.
    > Could not resolve all artifacts for configuration ':launcher:classpath'.
    > Could not download builder.jar (com.android.tools.build:builder:3.4.0)
    > Could not get resource 'dl.google.com/dl/android/maven2/com/android/tools/build/builder/3.4.0/builder-3.4.0.jar'.
    > Tag mismatch!
    * 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 2s

    • @p4programmer.
      @p4programmer.  4 года назад

      Hi did you download the android module from unity hub and check that it is on the recommendation path by going to preference tab. Cheers bro

    • @bensonmiakoun7674
      @bensonmiakoun7674 4 года назад +1

      @@p4programmer. yes, also it had ndk and sdk error before but none now. only gradle

    • @p4programmer.
      @p4programmer.  4 года назад

      Which android format you are looking to build all or abb

    • @bensonmiakoun7674
      @bensonmiakoun7674 4 года назад +1

      @@p4programmer. you mean apk? yes

    • @bensonmiakoun7674
      @bensonmiakoun7674 4 года назад +1

      @@p4programmer.
      for me it's these files needed:
      builder-3.4.0.jar
      bundletool-0.7.2.jar
      gradle-3.4.0.jar
      protos-26.4.0.jar
      since unity cant download them, i manually did but i don't know where to put them instead. My download speed for other unrelated things is better (3MBps) but when i downloaded these files, the speed goes 20kbps max instead with many disconnects. I assume it's same in unity.

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

    Thanks mannnn you saved my life 😭

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

    Man I tried everything, still doesn't work. Would love to get a reply if you can help me fix this.

    • @p4programmer.
      @p4programmer.  4 года назад

      What version of unity you are using

    • @tanayarora5858
      @tanayarora5858 4 года назад +1

      @@p4programmer. 2019.4.10f1. Thank you so much for responding!

    • @p4programmer.
      @p4programmer.  4 года назад

      Alright have you install Android mobile SdDK and NDK module from unity hub

    • @tanayarora5858
      @tanayarora5858 4 года назад

      @@p4programmer. yes I have and it's showing in my files as well

    • @p4programmer.
      @p4programmer.  4 года назад

      Go to reference > external tools then check ndk and SDK are in recommended path

  • @rotten351
    @rotten351 3 года назад +1

    the tutorial didn't work for me, but its okey

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

    thanks!!!!!

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

    Really appreciate it, than you

  • @hasan-bx2vv
    @hasan-bx2vv 3 года назад +1

    Thank you so much! It's a really weird error I tried to figure it out but I couldn't cuz of how many errors are in the console 😂 thanks tho 👍

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

    Thank you.

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

    I will change apk to abb, how can I get this back?

    • @p4programmer.
      @p4programmer.  4 года назад

      Go to build setting > uncheck the Build App bundle(Google Play ) then you cAn develop .apk format

    • @alohabeach418
      @alohabeach418 4 года назад +1

      @@p4programmer. thank you

    • @p4programmer.
      @p4programmer.  4 года назад

      Always welcome

  • @funwithtech26
    @funwithtech26 2 года назад +2

    Bro I have seen that u are replying everybody so humble of you
    So,please help this poor ,mine also not working same problem but not working as on the video please help😓😭😭

    • @p4programmer.
      @p4programmer.  2 года назад

      No worries man, where are you getting the errors, what are the log errors.

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

      It says 1 incompatable and 1 delete deamon cannot be reused

    • @p4programmer.
      @p4programmer.  2 года назад +1

      Can last the log for more clear.

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

      @@p4programmer. I think its coming error because of i have downloaded unity by a third party unity installer

    • @p4programmer.
      @p4programmer.  2 года назад

      Maybe that's the case.

  • @2.5dboy20
    @2.5dboy20 4 года назад +1

    Hey can anyone help me please...I am getting this error while connecting my android to unity ...
    unity setup android sdk path to make android remote work...!! Please help

    • @p4programmer.
      @p4programmer.  4 года назад +1

      Hello, first thing first did you check the ndk and SDK already installed in your unity path, you can check it by going to the preference

    • @p4programmer.
      @p4programmer.  4 года назад +1

      ruclips.net/video/g9iMeR8VeA0/видео.html

  • @lnshrivas7830
    @lnshrivas7830 4 года назад +1

    Hello sir , when I press the play button unity crashes ( close by itself ) please can you help ! thanks

    • @p4programmer.
      @p4programmer.  4 года назад

      Hello shrivas can you tell me you unity version

    • @lnshrivas7830
      @lnshrivas7830 4 года назад +1

      @@p4programmer. yes ! I'm using unity 2019.2.15f1

    • @p4programmer.
      @p4programmer.  4 года назад

      @@lnshrivas7830 Well can you tell me your compile errors, do you still getting Gradle script failure or NDK failures

    • @lnshrivas7830
      @lnshrivas7830 4 года назад

      @@p4programmer. yes ! I tried to switch the platform to android and connect my tablet with usb cable inorder to build that game & when I press the build button everything goes fine and at last it says gradle build failed ( something like this ) and look to console ! And about the ndk I checked in preferences there are two yellow sings on ndk

    • @lnshrivas7830
      @lnshrivas7830 4 года назад

      @@p4programmer. it shows Android SDK tools installed with unity(recommended) and with yellow sings it is written ⚠️ you are missing the recommended Android SDK tools . Install it with unity ! And same goes for NDK !

  • @joseordonez2079
    @joseordonez2079 4 года назад +1

    Hola! alguien podría ayudarme con este problema e seguido los consejos, e visto muchos videos, seguido los pasos y aun así me sigue apareciendo el mismo error. "gradle build failed see the console for details" estoy usando Unity 2020.1.0

    • @p4programmer.
      @p4programmer.  4 года назад +1

      Hola, primero debes asegurarte de descargar el módulo de desarrollo móvil de Android desde el hub de Unity ( ruclips.net/video/g9iMeR8VeA0/видео.html ). Luego verifica el NDK y el SDK en la ruta recomendada. Es tan simple como Tesla. Estoy muy feliz de ayudarte si tienes alguno problema.

    • @joseordonez2079
      @joseordonez2079 4 года назад +1

      @@p4programmer. Gracias por tu ayuda, pero ya tengo instalado unity hub, android studio, Sdk ndk,jdk. lo volví a instalar por si acaso y sigue la falla. quería saber si hay alguna posibilidad de ponerme en contacto contigo. y puedas ayudarme en este tema te lo agradecería mucho. y también cuanto me cobrarías por dedicar tu tiempo.

    • @p4programmer.
      @p4programmer.  4 года назад

      @@joseordonez2079 Estoy muy feliz de ayudarte, puedes contactarme a través de mysplendidview@gmail.com

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

    Thank youuu so muchhh !!!

  • @beetal3850
    @beetal3850 4 года назад

    My version doesnt have the preferences tab? Im using 2019.3.9f1 what version should are you using?

    • @p4programmer.
      @p4programmer.  4 года назад

      Im using 2019.2.19, but right now im using the lastest version of unity it still have the prefernce on the settings. Even though the options are slightly different

    • @p4programmer.
      @p4programmer.  4 года назад

      Right now iam using 2019.3.10f1

    • @beetal3850
      @beetal3850 4 года назад +1

      oh sorry i found the problem 😂 . Thanks

    • @p4programmer.
      @p4programmer.  4 года назад

      @@beetal3850 Cheers bro

    • @beetal3850
      @beetal3850 4 года назад +1

      I genuinely don't remember because im 10. Sorry ):

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

    didnt work :(

    • @p4programmer.
      @p4programmer.  2 года назад

      What happened?

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

      @@p4programmer. still hte same problem..

  • @mobayonleajayi1588
    @mobayonleajayi1588 4 года назад +1

    Thanks soo much ..it worked

  • @naveenkumar-vb5st
    @naveenkumar-vb5st 3 года назад +1

    Thanks u so much it works for me 😊

  • @geetatilva494
    @geetatilva494 4 года назад

    After doing all that it shows in console
    that
    Could not resolve arteifacts for configuration launcher:classpath
    Can you help?

    • @p4programmer.
      @p4programmer.  4 года назад

      The have to check the ndk and sdk path way, go to preference and check or install the new unity version with NDK and JDK bundle, seems like newer version doesn't have such problems, cheers broh

    • @pixelcg
      @pixelcg 4 года назад

      Thanks bro
      Ok, this is my second account and I already have the latest unity version 2019.3.14f1 with NDK JDK installed.
      Can you give me your email so I can contact you?

    • @p4programmer.
      @p4programmer.  4 года назад

      For sure, mysplendidview@gmail.com

    • @pixelcg
      @pixelcg 4 года назад +1

      Programmer oh man at this point I seriously don’t know how unity works.
      I just changed the folder where I was building the app and it WORKED!!
      Thanks for your time

    • @p4programmer.
      @p4programmer.  4 года назад

      Really, man there you go, cheers bro, catch you soon

  • @splendidview8889
    @splendidview8889 4 года назад +1

    Thanks brohh

  • @yasu6825
    @yasu6825 4 года назад +1

    Thanks!!

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

    it wasn't helped me😢

  • @shreeshind8388
    @shreeshind8388 4 года назад +1

    Not working please help me 😔😔 in version 2019.4.9f1 can u help me

    • @p4programmer.
      @p4programmer.  4 года назад

      are you trying to build android apk or abb

    • @shreeshind8388
      @shreeshind8388 4 года назад +1

      @@p4programmer. apk bro

    • @p4programmer.
      @p4programmer.  4 года назад

      Have installed the android mobile module from the unity hub

    • @shreeshind8388
      @shreeshind8388 4 года назад

      @@p4programmer. yes bro

    • @p4programmer.
      @p4programmer.  4 года назад +1

      @@shreeshind8388 what are the errors are you getting

  • @Life-yy9cl
    @Life-yy9cl 4 года назад +1

    Thank you so much. Now can build my game for android.
    But I still can not play on remote 5.
    Can you help me with that?

    • @p4programmer.
      @p4programmer.  4 года назад

      Hi can you forward me the error message or statement

    • @Life-yy9cl
      @Life-yy9cl 4 года назад

      @@p4programmer. thank for replying. The issue got solved. The recommended sdk was not working for me. So I downloaded android studio and it's sdk. And it's working now.

    • @p4programmer.
      @p4programmer.  4 года назад

      Cheers!!!

  • @h1tman_
    @h1tman_ 4 года назад +1

    Everything you said is already done mate

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

    Thanks 😭, that's what I am looking for 😭😭

  • @p4programmer.
    @p4programmer.  4 года назад +1

    Guys, we posted our new video about the scene navigation ruclips.net/video/GjBMQ4qGm6A/видео.html

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

    still didnt work

    • @p4programmer.
      @p4programmer.  2 года назад

      Which version of unity you are using?

  • @DoraTheExplorerrr
    @DoraTheExplorerrr 4 года назад +1

    i have problem with the il2cpp

  • @suniabilqurani4437
    @suniabilqurani4437 3 года назад

    hi mrs can you hlep me, how to solution my unity
    how to fix it so that it can be build in android, please help me

    • @suniabilqurani4437
      @suniabilqurani4437 3 года назад

      Assertion failed: Assertion failed on expression: 'm_CurrentEntriesPtr != NULL && m_IsGettingEntries'
      UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

    • @p4programmer.
      @p4programmer.  3 года назад

      This is a program error

    • @suniabilqurani4437
      @suniabilqurani4437 3 года назад

      @@p4programmer. Could not write 8950 bytes to file Temp/StagingArea/res.drawable-xhdpi.app_icon.png
      UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
      this is my problem too, how to solve this my problem please help me

    • @p4programmer.
      @p4programmer.  3 года назад

      Which platform you are working with

    • @suniabilqurani4437
      @suniabilqurani4437 3 года назад

      @@p4programmer. Unity 2017.3.1f1.

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

    didint work

    • @p4programmer.
      @p4programmer.  2 года назад +1

      Which version of unity you are using.

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

      @@p4programmer. 2020.1.6f1

    • @p4programmer.
      @p4programmer.  2 года назад

      Update the unity, it may resolve by package manager, but I'm not sure. @@x3gaming516

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

      @@p4programmer. which version should i update to ?

    • @p4programmer.
      @p4programmer.  2 года назад

      Go to unity hub and look for an updation, if you are using the enterprise version there should be a support section.

  • @keremaslan1988
    @keremaslan1988 4 года назад

    I did everything in the video and still geting the same error

  • @АнатолийТимофеев-б8ж

    Спасибо! Получилось

  • @yehortereshchenko5587
    @yehortereshchenko5587 3 года назад

    it is not wark:( help me

    • @yehortereshchenko5587
      @yehortereshchenko5587 3 года назад

      i have:

    • @yehortereshchenko5587
      @yehortereshchenko5587 3 года назад

      1 Failed running C:\Program Files\Unity\Hub\Editor\2018.4.29f1\Editor\Data\il2cpp/build/il2cpp.exe --convert-to-cpp --emit-null-checks --enable-array-bounds-check --dotnetprofile="legacyunity" --compile-cpp --libil2cpp-static --platform="Android" --architecture="ARM64" --configuration="Release" --outputpath="D:\Battle strike - скины и кейсы\Temp/StagingArea\assets\bin\Data\Native\arm64-v8a\libil2cpp.so" --cachedirectory="D:\Battle strike - скины и кейсы\Assets\..\Library\il2cpp_android_arm64-v8a/il2cpp_cache" --additional-include-directories="C:\Program Files\Unity\Hub\Editor\2018.4.29f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\bdwgc/include" --additional-include-directories="C:\Program Files\Unity\Hub\Editor\2018.4.29f1\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\libil2cpp/include" --tool-chain-path="D:/NDK/android-ndk-r16b" --map-file-parser="C:\Program Files\Unity\Hub\Editor\2018.4.29f1\Editor\Data\Tools\MapFileParser\MapFileParser.exe" --directory="D:\Battle strike - скины и кейсы\Temp\StagingArea\assets\bin\Data\Managed" --generatedcppdir="D:\Battle strike - скины и кейсы\Temp\StagingArea\Il2Cpp\il2cppOutput"
      stdout:
      Building libil2cpp.so with AndroidToolChain
      Output directory: D:\Battle strike - ᪨�� � �����\Temp\StagingArea\assets\bin\Data\Native\arm64-v8a
      Cache directory: D:\Battle strike - ᪨�� � �����\Library\il2cpp_android_arm64-v8a\il2cpp_cache
      ObjectFiles: 574 of which compiled: 0
      Total compilation time: 565 milliseconds.
      il2cpp.exe didn't catch exception: Unity.IL2CPP.Building.BuilderFailedException: D:\NDK\android-ndk-r16b\toolchains\llvm\prebuilt\windows-x86_64\bin\clang++ @"C:\Users\User\AppData\Local\Temp\tmp526F.tmp" -o "D:\Battle strike - ᪨�� � �����\Library\il2cpp_android_arm64-v8a\il2cpp_cache\linkresult_A8EE6C855926210C6FB6877EB688847E\libil2cpp.so" -shared -Wl,-soname,libil2cpp.so -Wl,--no-undefined -Wl,-z,noexecstack -Wl,--gc-sections -Wl,--build-id --sysroot "D:\NDK\android-ndk-r16b\platforms\android-21\arch-arm64" -gcc-toolchain "D:\NDK\android-ndk-r16b\toolchains\aarch64-linux-android-4.9\prebuilt\windows-x86_64" -target aarch64-none-linux-android -Wl,--wrap,sigaction -L "D:\NDK\android-ndk-r16b\sources\cxx-stl\gnu-libstdc++\4.9\libs\arm64-v8a" -lgnustl_static -llog -rdynamic -fuse-ld=bfd.exe
      clang++.exe: error: no such file or directory: 'D:/Battle strike - ????? ? ?????/Library/il2cpp_android_arm64-v8a/il2cpp_cache/6CB45E06699ED38C2FB798553EBACF54.o'
      clang++.exe: error: no such file or directory: 'D:/Battle strike - ????? ? ?????/Library/il2cpp_android_arm64-v8a/il2cpp_cache/757ACAC019964925256C734258B63E65.o'
      clang++.exe: error: no such file or directory: 'D:/Battle strike - ????? ? ?????/Library/il2cpp_android_arm64-v8a/il2cpp_cache/70A8BC825B6A8B116EC372392A62C760.o'
      clang++.exe: error: no such file or directory: 'D:/Battle strike - ????? ? ?????/Library/il2cpp_android_arm64-v8a/il2cpp_cache/1892997A16E7D78F31D8F89BB6E61ABF.o'
      clang++.exe: error: no such file or directory: 'D:/Battle strike - ........

    • @yehortereshchenko5587
      @yehortereshchenko5587 3 года назад

      2 Exception: C:\Program Files\Unity\Hub\Editor\2018.4.29f1\Editor\Data\il2cpp/build/il2cpp.exe did not run properly!
      UnityEditorInternal.Runner.RunProgram (UnityEditor.Utils.Program p, System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:130)
      UnityEditorInternal.Runner.RunManagedProgram (System.String exe, System.String args, System.String workingDirectory, UnityEditor.Scripting.Compilers.CompilerOutputParserBase parser, System.Action`1 setupStartInfo) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/BuildUtils.cs:73)
      UnityEditorInternal.IL2CPPBuilder.RunIl2CppWithArguments (System.Collections.Generic.List`1 arguments, System.Action`1 setupStartInfo, System.String workingDirectory) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:376)
      UnityEditorInternal.IL2CPPBuilder.ConvertPlayerDlltoCpp (System.String inputDirectory, System.String outputDirectory, System.String workingDirectory, Boolean platformSupportsManagedDebugging) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:357)
      UnityEditorInternal.IL2CPPBuilder.Run () (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:211)
      UnityEditorInternal.IL2CPPUtils.RunIl2Cpp (System.String tempFolder, System.String stagingAreaData, IIl2CppPlatformProvider platformProvider, System.Action`1 modifyOutputBeforeCompile, UnityEditor.RuntimeClassRegistry runtimeClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/Il2Cpp/IL2CPPUtils.cs:35)
      UnityEditor.Android.PostProcessor.Tasks.RunIl2Cpp.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context)
      UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context)
      UnityEditor.Android.PostProcessAndroidPlayer.PostProcess (BuildTarget target, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String installPath, System.String companyName, System.String productName, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report)
      UnityEditor.Android.AndroidBuildPostprocessor.PostProcess (BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties)
      UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTargetGroup targetGroup, BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:288)
      UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)

    • @yehortereshchenko5587
      @yehortereshchenko5587 3 года назад

      3 Build completed with a result of 'Failed'
      UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)

    • @yehortereshchenko5587
      @yehortereshchenko5587 3 года назад

      4 UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
      at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (BuildPlayerOptions options) [0x00242] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:194
      at UnityEditor.BuildPlayerWindow.CallBuildMethods (Boolean askForBuildLocation, BuildOptions defaultBuildOptions) [0x0007f] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:97
      UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)

  • @brdchy1
    @brdchy1 4 года назад +1

    yeah, man
    sub!

    • @p4programmer.
      @p4programmer.  4 года назад

      Thanks bro

    • @thanksfor17ksubscribe32
      @thanksfor17ksubscribe32 4 года назад +1

      mobile23games.blogspot.com/2020/06/unity-build-errors.html

    • @p4programmer.
      @p4programmer.  4 года назад +2

      @@thanksfor17ksubscribe32 Some times I face the same issue my alternative is Google mob absence, its good but have some limitations with the unity projects

  • @dominion2atasie945
    @dominion2atasie945 3 года назад

    GOD WILL BLESS AND OVER FAVOUR YOUR DESTINY YOU SHALL NEVER LACK IN THE THE NAME OF JESUS

  • @trinityhomecare9781
    @trinityhomecare9781 4 года назад +1

    Thanks, broh really helpful. You save my day