-
Notifications
You must be signed in to change notification settings - Fork 256
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
Android 34 / FB SDK - can't build ( A failure occurred while executing com.android.build.gradle.internal.tasks.Workers$ActionFacade ) #714
Comments
Do you have any updates on this? Are there any workarounds or other SDK versions? |
I have the same issue. Any thoughts on this? Any solutions? Here you can download other versions: https://developers.facebook.com/docs/unity/downloads/ I will be trying others to see if any work. |
I have the same issue for: in: |
Same issue with Unity 2021.3.28f1 and SDK version 14.0.1. Tried Android target API level 30 and 34. Both fail. |
Same issue with Unity 2020.3.48. Changing |
Same issue with Unity 2021.3.31f1 and SDK version 16.0.2. |
Because of this I have to take build in Android studio. |
@Ajasmm3plus How did you managed to build with andorid export ? I couldn't make it work. |
@Ajasmm3plus Is it possible for you to show complete steps on how you bypass this error by taking build in Android studio? |
No one here to resolve the issue on facebook latest SDK 17.0.1, any work around? |
What's wrong? Unity 2021.3 using Build Tools installed with Unity: build-tools v. 30.0.2 How to solve it
|
@s4relok Working great. Thanks. 🙏 |
It's work for unity build |
none of the solutions above work for me, anyone found another solution? |
I have removed the SDK and now using graph API link (REST Api) for login, it works like a charm and let you get rid of buggy SDK. |
你要检查你的sdk目录是否下载好,那个34.0.0 |
Try to raise the Minimum API Level. In my case, it works because I raise it to 24... |
In my case: This solve the problem and makes build correctly. Btw cleans the warning in the play console about the sdk version of my app. Edit: Don't forget to update your Android Studio or just download de newer sdk tools. |
I have the same issue with FBSDK 16.0.1 and Unity 2021.3.15. |
thank you so so much!! |
Sorry for the late replay. I had no issues when exporting as android studio project. I follow the below steps to take build.
The above steps might be only applicable to my project. |
Unity 2021.3.9f1: Max build tools supported is 30.0.3
Unity 2021.3.9f1: it says Max build tools supported is 30.0.3 |
Checklist
Environment
2021.3.34f1
16.0.2
Goals / Expected Results
I am trying to build a project for Android, using Target API level 34, that uses FB SDK 16.0.2. It works on Target API level 33, and breaks on 34
Actual Results
Build fails.
Full stacktrace:
Editor.log
Steps to Reproduce
Empty project. Set it up.
Download FB SDK
16.0.2
from hereInstall .unitypackage
Build for Android.
Code Samples & Details
Here's an empty project with just the FB SDK as external package. This builds on Android 33, and not on Android 34
Empty Proj - FB SDK failing.zip
The text was updated successfully, but these errors were encountered: