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.
معلومه ایرانی یه ویدیو با زبان فارسی راجع به مشکل من درست کن لطفا❤ Java Development Kit directory is not set or invalid... بعد از اینکه اس دی کا و آن دی کا و جی دی کا رو نصب کردم و یونیتی خودش گرفتنشون ، بعد از خروجی اندروید این ارور اومد چیکار کنم؟
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. ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-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.
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...
@@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/