EvilMindDevs / hms-unity-plugin

The HMS Unity Plugin makes it easy to include Huawei Mobile Services into Unity-based games. Authentication, in-app purchases, push alerts, ads, and interaction with gaming services are just a few of the basic capabilities that this formidable tool makes available to your applications.
https://evilminddevs.gitbook.io/hms-unity-plugin/
305 stars 41 forks source link

Assets/Huawei/Plugins/Android/hmsMainTemplate.gradle is absent #491

Closed PromanSEW closed 2 months ago

PromanSEW commented 2 months ago

Describe the bug & problem When I try to build APK, I got this error:

Copying D:/TrueFishingUnity/Assets/Huawei/Plugins/Android/hmsMainTemplate.gradle to D:\TrueFishingUnity\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary/hmsMainTemplate.gradle: The specified file cannot be found

I looked in package, filesystem and this repository, but there is no this file anywhere. Please provide this file Environment (please complete the following information):

github-actions[bot] commented 2 months ago

Thank you for reporting this issue/advice.

We will get back to you as soon as possible.
Would you like to star our plugin to support us? :sparkles:

alihan98ersoy commented 2 months ago

In normal situation it should create the specific files when building the APK. image

Then the files are moved to the bee folder. This bee folder works like a cache and makes the creation process faster.

However, there is problem that blocks this process. I believe it can work normally when you try it next time. If it doesn't work, you can try deleting the Library\Bee folder.

github-actions[bot] commented 2 months ago

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.