2019.3.3f1I don't know what it means, never heard of 'Unity SDK', It's just Unity.[Android] version Q - API 217.19.2Simply build the project without any troubleshoot
It should recognize Unity's built-in SDK path if it is correct. Which is like: C:/Program Files/Unity/Hub/Editor/2019.3.3f1/Editor/Data/PlaybackEngines/AndroidPlayer\SDK
Eventually, project should be successfully compiled.
Image:

2019.3 project7.19.2Ref: https://forum.unity.com/threads/you-dont-have-android-sdk-setup-facebbok-sdk.835435/
Thanks!
As a workaround, I created a menu entry in the Unity Editor to fix that:
https://gist.github.com/rthery/5d734b08cf36bdbaa5ccdb9b9b53b818
I have the same problem each time I update Unity.
You can uncheck the "xxx installed with unity" checkbox, correct the url (for me the unity version) of the jdk, sdk ... and then recheck the check box.
Getting the same issue with Unity 2020.1
It looks like they've fixed this in 7ad0cb94585c84fa53c565d53f03981cc056970d
It looks like they've fixed this in 7ad0cb9
@Andreyul
you are wrong - fix works only when you include plugin as sources - because there's no UNITY_2019_1_OR_NEWER during .dll build which is provided in .unitypackage
PS
And I tell you more - there at least two other bugs with #if )) (maybe I'll contribute fixes later)
this is still a thing till today OMG! facebook just update already!
this is still a thing till today OMG! facebook just update already!
May 2021, i'm coming from the future to tell You. This is still a thing i can't work around it, since i'm not familiar to those Android Dev Ops. Tried every Unity Version i have to avoid messsing around with JDKs......and folders.
this is still a thing till today OMG! facebook just update already!
May 2021, i'm coming from the future to tell You. This is still a thing i can't work around it, since i'm not familiar to those Android Dev Ops. Tried every Unity Version i have to avoid messsing around with JDKs......and folders.
Is this still happening in latest version of Unity and Plugin?
cc: @KylinChang
this is still a thing till today OMG! facebook just update already!
May 2021, i'm coming from the future to tell You. This is still a thing i can't work around it, since i'm not familiar to those Android Dev Ops. Tried every Unity Version i have to avoid messsing around with JDKs......and folders.
Is this still happening in latest version of Unity and Plugin?
cc: @KylinChang
It happened with the latest version of unity 2021 and SDK 9.1 or 9.25, not completely sure since 9.2 released same day i tried to solve this.
I found a away, unchecking the boxes and pasting the same value it has, solved the problem to me.
Most helpful comment
this is still a thing till today OMG! facebook just update already!