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
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.
I'm glad it helped! Thanks for your kind words 💚
YESS ME AS WELL!! Thank you so Much!!!
THANK YOU SO MUCH! After many students, TAs later, and I struggled with this issue, this video helped a ton. Much appreciated!
I'm glad it helped 💛
Wait I can't find unity engine where the hell did U get that from ???
THANK YOU SO MUCH!! IT WORKS!!!
insane thank you for the help!
You're welcome! glad it was helpful
Amazing many thanks
THANK YOU VERY MUCH! It helped!!!
glad it did help 💚
داداش دمت گرم
yo thank you so much thought that i wold not get to make my games
معلومه ایرانی یه ویدیو با زبان فارسی راجع به مشکل من درست کن لطفا❤
Java Development Kit directory is not set or invalid...
بعد از اینکه اس دی کا و آن دی کا و جی دی کا رو نصب کردم و یونیتی خودش گرفتنشون ، بعد از خروجی اندروید این ارور اومد چیکار کنم؟
I tried but I still get the same error. Is it something caused by me? Can you help me?
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).
@@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.
@@muratylmaz9151 Glad it's fixed!
Can you give me that sdk file somehow ? I cant download them
if it's there an issue with downloading, use VPN or DNS
THANK YOU.
You're Welcome! Glad it helped 🧡
Whats this sdk is it to turn a game to apk?
Yes
Hello Bro, AMI the SDK folder does not appear in unity, how could I solve it, thanks
did you download the Unity version Modules? the SDK, NDK, and Android build?
@@GameDevBox no se me descargan
@@danielmartinez5944 Use VPN or DNS
DIDNT HELP AT ALL!!!
Make another video and be more specific plzzzzzzz
sure will do Thanks!
h
j
j
j
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...
Does this happen after upgrading the SDK version with Android SDK or Unity default SDK?
@@GameDevBox con Android SDK
@@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/