Set up Android SDK Manually for Unity - (Fix Gradle Error)

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • If you encounter an error while trying to upload your Unity project to Google Play, and they tell you that the target API level does not meet the required specifications, or if you come across a Gradle error and decide to manually change the API level, follow along as I guide you through the process of upgrading the SDK for Unity.
    ➡️Android Studio: developer.andr...
    🔥Simple Trajectory Prediction 3D/2D Unity - Without LineRenderer - Perspective and Orthographic: • Simple Trajectory Pred...
    🔥Flora Assets Review - Ultimate Vegetation Solution for Unity - Render millions of instances: • Flora Assets Review - ...
    🔥Setup Local Volumetric Fog In Unity HDRP: • Setup Local Volumetric...
    🔥Create Simple Fur for your Animals - Unity HDRP (URP - Built-in Amplify Shader): • Create Simple Fur for ...
    🔥Dots Grid - 3D Grid And Mesh Space - Unity Visual Effect Graph: • Dots Grid - 3D Grid An...
    🔥Custom LOD Cross Fade Dithering Unity3D All Pipelines - Shader Graph And Amplify Shader + Speed Tree: • Custom LOD Cross Fade ...
    • Don't Forget to Subscribe:
    / @gamedevbox
    If you have any questions post them in the comments and I'll do my best to answer them 🙌
    #gamedevbox #Unity #gamedevelopment

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

  • @ElecOokami
    @ElecOokami 7 месяцев назад +3

    THANK YOU SO MUCH!! I have been tearing my hair out trying to fix this error for two days following tons of videos and guides and yours actually did the trick.

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

      I'm glad it helped! Thanks for your kind words 💚

    • @RomanEmpire22-s2d
      @RomanEmpire22-s2d 2 месяца назад

      YESS ME AS WELL!! Thank you so Much!!!

  • @zakenmaru8612
    @zakenmaru8612 7 месяцев назад +1

    THANK YOU SO MUCH! After many students, TAs later, and I struggled with this issue, this video helped a ton. Much appreciated!

    • @GameDevBox
      @GameDevBox  7 месяцев назад +1

      I'm glad it helped 💛

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

    Wait I can't find unity engine where the hell did U get that from ???

  • @ReVvayn
    @ReVvayn 4 месяца назад

    THANK YOU SO MUCH!! IT WORKS!!!

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

    insane thank you for the help!

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

      You're welcome! glad it was helpful

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

    Amazing many thanks

  • @igor-z42
    @igor-z42 5 месяцев назад

    THANK YOU VERY MUCH! It helped!!!

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

      glad it did help 💚

  • @hoseinaghatv
    @hoseinaghatv 18 дней назад

    داداش دمت گرم

  • @soysausevr2203
    @soysausevr2203 4 месяца назад

    yo thank you so much thought that i wold not get to make my games

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

    معلومه ایرانی یه ویدیو با زبان فارسی راجع به مشکل من درست کن لطفا❤
    Java Development Kit directory is not set or invalid...
    بعد از اینکه اس دی کا و آن دی کا و جی دی کا رو نصب کردم و یونیتی خودش گرفتنشون ، بعد از خروجی اندروید این ارور اومد چیکار کنم؟

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

    I tried but I still get the same error. Is it something caused by me? Can you help me?

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

      Do you still get errors??😟Are you sure you have set it up correctly? Uncheck Gradle default in project settings and locate the Android studio folder. which Unity version are you using? also changing the Unity version might help. I have another video about Gradle Error but If this won't work I don't think that one helps but you can check it out. ruclips.net/video/NZs_8WqQsUw/видео.html
      (another thing is to uninstall the whole Unity hub and Unity with their registry files and every other connected file and then Do the exact approach to see what will happen).

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

      @@GameDevBox My problem was related to something completely different. It turned out that I was getting such an error because the file containing the game contained ASCII characters (İŞĞÜÖÇu). But thank you anyway.

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

      @@muratylmaz9151 Glad it's fixed!

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

    Can you give me that sdk file somehow ? I cant download them

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

      if it's there an issue with downloading, use VPN or DNS

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

    THANK YOU.

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

      You're Welcome! Glad it helped 🧡

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

    Whats this sdk is it to turn a game to apk?

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

    Hello Bro, AMI the SDK folder does not appear in unity, how could I solve it, thanks

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

      did you download the Unity version Modules? the SDK, NDK, and Android build?

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

      @@GameDevBox no se me descargan

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

      @@danielmartinez5944 Use VPN or DNS

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

    DIDNT HELP AT ALL!!!

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

    Make another video and be more specific plzzzzzzz

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

      sure will do Thanks!

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

    h

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

    j
    j
    j

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

    Cuando agrego el complemento Google Admob, aparece el siguiente error, solo pasa cuando instalo el complemento Admob.
    Starting a Gradle Daemon, 1 incompatible and 4 stopped Daemons could not be reused, use --status for details
    CommandInvokationFailure: Gradle build failed.
    C:/Program Files/Unity/Hub/Editor/2019.3.15f1/Editor/Data/PlaybackEngines/AndroidPlayer\OpenJDK\bin\java.exe -classpath "C:\Program Files\Unity\Hub\Editor\2019.3.15f1\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-5.1.1.jar" org.gradle.launcher.GradleMain "-Dorg.gradle.jvmargs=-Xmx4096m" "assembleRelease"
    stderr[
    Note: C:\Users
    odrigo\AdmobPruebaAds\Temp\gradleOut\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.
    * What went wrong:
    Execution failed for task ':launcher:packageRelease'.
    > 1 exception was raised by workers:
    java.lang.RuntimeException: java.lang.RuntimeException: com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "C:\Users
    odrigo\.android\debug.keystore": Invalid keystore format. etc...

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

      Does this happen after upgrading the SDK version with Android SDK or Unity default SDK?

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

      @@GameDevBox con Android SDK

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

      @@sumerio3053 Sorry I don't have experience with Admob but there are some links I found maybe can help you:
      discussions.unity.com/t/gradle-build-fail-after-import-admob-into-project/249841
      stackoverflow.com/questions/75715410/issues-with-build-after-installation-of-admob
      forum.unity.com/threads/gradle-build-failed-after-importing-googlemobileadsfacebookmediation.1122532/