OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your Unity app with OneSignal. https://onesignal.com
Other
222
stars
61
forks
source link
[Bug]: Build error after executing Huawei Unity SDK Setup #615
Hello. When following documentation for Huawei Unity SDK Setup, unable to build apk from Unity due to build errors
FAILURE: Build failed with an exception.
Where:
Settings file 'D:\UnityProjects\TestOSAGProject\Library\Bee\Android\Prj\IL2CPP\Gradle\settings.gradle' line: 50
What went wrong:
A problem occurred configuring root project 'Gradle'.
D:\UnityProjects\TestOSAGProject\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\OneSignalConfig\agconnect-services.json
Steps to reproduce?
1. Created a new 2D project in Unity 2021.3.22
2. Installed the OneSignal SDK for Unity according to the Unity SDK Setup instructions
3. Compiled the project, the assembly was successful
4. Set up SDK according to Huawei Unity SDK Setup instructions
5. I tried to compile the project for verification and it did not assemble, errors appeared
What did you expect to happen?
I expect the apk to be successfully generated without any compile errors to check push notifications
Unity version
2021.3.22
OneSignal Unity SDK version
3.0.11
Platform
Android
Relevant log output
FAILURE: Build failed with an exception.
* Where:
Settings file 'D:\UnityProjects\TestOSAGProject\Library\Bee\Android\Prj\IL2CPP\Gradle\settings.gradle' line: 50
* What went wrong:
A problem occurred configuring root project 'Gradle'.
> D:\UnityProjects\TestOSAGProject\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\OneSignalConfig\agconnect-services.json
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
Code of Conduct
[X] I agree to follow this project's Code of Conduct
What happened?
Hello. When following documentation for Huawei Unity SDK Setup, unable to build apk from Unity due to build errors
FAILURE: Build failed with an exception.
Steps to reproduce?
What did you expect to happen?
I expect the apk to be successfully generated without any compile errors to check push notifications
Unity version
2021.3.22
OneSignal Unity SDK version
3.0.11
Platform
Android
Relevant log output
Code of Conduct