Open Parth10277 opened 4 months ago
Screen Preview of all Assets,
It happens to me too. Has anything been resolved?
Hey,
I have the exact same problem with SDK 11.7.0. I tested it with 11.6 and the issue persists. Here's what I've tried:
Despite all these attempts, I'm still unable to build. Any help would be greatly appreciated. Thanks.
Facing the same issue. Any ideas how to resolve?
Not sure if anyone is still facing this issue, I was able to work around it by adding
implementation 'androidx.core:core:1.1.0'
implementation("androidx.appcompat:appcompat:1.3.1")
to my Assets/Plugins/Android/mainTemplate.gradle
file right after
// Android Resolver Dependencies end
Good luck!
[READ] For Firebase Unity SDK issues, please report to Firebase Unity open-source
Once you've read this section and determined that your issue is appropriate for this repository, please delete this section.
[REQUIRED] Please fill in the following fields:
[REQUIRED] Please describe the issue here:
While "Build and Run" the project Error will occur, for gradle build.
Console Error,
E:\Parth's Training\QWERTY\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\google\firebase\MessagingUnityPlayerActivity.java:64: error: cannot access JobIntentService MessageForwardingService.enqueueWork(this, message); ^ class file for androidx.core.app.JobIntentService not found Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error
FAILURE: Build failed with an exception.
Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? What's the issue repro rate? 5/5
What happened? How can we make the problem occur? -> Just Import and build This could be a description, log/console output, etc.
console Errors.
i) Exception while marshalling C:\Program Files\Unity\Hub\Editor\2022.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\build-tools\32.0.0\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2022.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platform-tools\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2022.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-31\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2022.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\platforms\android-32\package.xml. Probably the SDK is read-only Exception while marshalling C:\Program Files\Unity\Hub\Editor\2022.3.20f1\Editor\Data\PlaybackEngines\AndroidPlayer\SDK\tools\package.xml. Probably the SDK is read-only
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()
ii) Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF-8 E:\Parth's Training\QWERTY\Library\Bee\Android\Prj\IL2CPP\Gradle\unityLibrary\src\main\java\com\google\firebase\MessagingUnityPlayerActivity.java:64: error: cannot access JobIntentService MessageForwardingService.enqueueWork(this, message); ^ class file for androidx.core.app.JobIntentService not found Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':unityLibrary:compileReleaseJavaWithJavac'.
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.
Get more help at https://help.gradle.org
BUILD FAILED in 2s
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()
If you have a downloadable sample project that reproduces the bug you're reporting, you will likely receive a faster response on your issue.
Relevant Code:
I haven't coded anything just import those packages from google Firebase