Android Build Failed - could not find file debug apk

I’m trying to package my game. It fails either for distribution or development.
I am able to package the game for so many time and then I just couldn’t.

Here is the output log that I get: [OutputLog][1]
Here is the screenshot for my android SDK and SDK Manager:

I’m trying to use GameSparks plugin with the OnlineSubsystemFacebook plugins.

Here’s what I’ve tried so far:
-Tried reinstalling CodeWorks. Failed.
-Tried creating a new project and packaging that. The new project successfully packaged.
-Tried migrating assets, plugins, settings, conifg files, enabled GameSparks plugin on edito and OnlineSubystemFacebook on build.cs. Failed.

Can anyone help me? I’ve been working on this for a week now.

Can’t anyone help?

Okay, I’ve found when this error is happening.

It’s when I add these lines on my DefaultEngine.ini:

[OnlineSubsystemFacebook]
bEnabled=true
ClientId=1375368315904124

[OnlineSubsystemFacebook.OnlineIdentityFacebook]
MeURL=graph.facebook.com/me?`token
bUsePopup=true

[OnlineSubsystemFacebook.OnlineSharingFacebook]
PermissionsURL=graph.facebook.com/me?`token&fields=permission

[OnlineSubsystemFacebook.OnlineFriendsFacebook]
FriendsUrl=graph.facebook.com/me?`token&fields=friends{`fields}

Hey did you ever get your project to launch. I have the same problem

Yeah. I got it working. Are you also trying to use OnlineSubsystemFacebook plugin? The problem is that there is a missing dependency that the FacebookSDK needs. So, I created my own plugin that includes that dependency with the FacebookSDK and that’s where I did facebook codes.

I found out the problem when I tried gradle build on 4.17.

ahh i see ok i will do that also