-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HMS Ads issue #411
Comments
Could you explain the problem in detail? And I wonder if I can get unfiltered logs from you? |
Sir im implementing ads in Unity from 1 year its first time when i integrate ads it not showing test ads... |
is Problem solved? |
YES BUT THE THING IS HMS NOT WORKING WHEN U SET MINIFY ENABLED.. it working without minify |
When Minify is enabled, gradle is having trouble with implementing SDKs. Some configurations are required for each SDK. You can refer the related links: We are suggesting to disable minify and proguard. If needed we can work on to find a solution. |
Yes minify sometime mandatory You know sometime apk size get bigger.. |
i have a problem , everytime i add the hms asset in my project and i try to build it i got this error " gradle build failed . see the console for details" |
can you share the problem on the console with me? |
other one with "FAILURE: Build failed with an exception.
|
unity version : 2020.3.47f1 FAILURE: Build failed with an exception.
BUILD FAILED in 19s UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) |
The problem is with the Android SDK. If you have Android Studio on your computer. In that case, you can choose its SDK folder as Unity's SDK folder or you can apply the solution I used, which is to run Unity HUB and Unity editor as Admin. But there is a risk in this solution, as Unity works with admin authority, third-party assets & libraries loaded into Unity will work with admin authority. |
Same error? It can be a different error such as "Failed to install the following Android SDK packages as some licences have not been accepted". Or maybe you can try to change the permission settings of the folder. If you don't have licenses folder you can refer to this. #367 (comment) |
I've been getting a gradle error that I can't solve for a long time. I integrated the HMS Plugin and edited the required manifest and gradle files as in this website " https://docs.unity.cn/cn/Packages-cn/[email protected]/manual/ ". But I still keep getting errors. My unity version is 2021.3.28f and my hms plugin version is v2.3.4 //************************************************************************************************************************ Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) FAILURE: Build completed with 2 failures. 1: Task failed with an exception.
2: Task failed with an exception.
BUİLD FAILED in 844ms UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) CommandInvokationFailure: Gradle build failed. Environment Variables: stderr[ FAILURE: Build completed with 2 failures. 1: Task failed with an exception.
2: Task failed with an exception.
BUİLD FAILED in 844ms Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0. Build completed with a result of 'Failed' in 27 seconds (27104 ms) UnityEditor.BuildPlayerWindow+BuildMethodException: 4 errors //************************************************************************************************************************ |
Hi, Also, I think you should delete the bee folder after applying the solution. (Users\TMS\Unity\CaozH\Library\Bee) |
I encountered this error FAILURE: Build failed with an exception.
BUILD FAILED in 695ms UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) |
Hi, which Unity version are you using? |
2020.2.6f1 |
My unity version is 2020.2.6f1 and my hms plugin version is v2.3.3 stderr[ FAILURE: Build failed with an exception.
BUILD FAILED in 8s
|
Hi again, It works in 2021 but I get the same error for Unity 2020. I will fix the problem with the new version.
|
Thanks for your answer. I did not find this problem again by using HMs-union-plugin 2.2.5 |
Thank you for using our repository! We're glad we could help solve your issue. If you found our repository helpful, please consider giving us a star ⭐ on GitHub: https://github.com/EvilMindDevs/hms-unity-plugin Your support helps us continue to improve our repository and provide valuable resources for others. |
Hello Sir,
Ads not working in some project even test ads.. i tested all version of packages.. still no test ads..it first time that it happen
The text was updated successfully, but these errors were encountered: